Flags

Details

class Amtk.FactoryFlags(value)

Bases: GObject.GFlags

Amtk.FactoryFlags permits to control how a factory function creates the object, to ignore some steps.

New in version 3.0.

FLAGS_NONE = 0

No flags.

IGNORE_GACTION = 1

Do not associate the created object with the Gio.Action. For example if the object to create is a Gtk.Actionable, do not call Gtk.Actionable.set_action_name().

IGNORE_ACCELS = 16

Ignore completely the accelerators.

IGNORE_ICON = 2

Do not set an icon.

IGNORE_ACCELS_FOR_DOC = 32

Ignore the accelerators for documentation purposes only. For example do not add/configure a Gtk.AccelLabel.

IGNORE_LABEL = 4

Do not set a label/short description.

IGNORE_ACCELS_FOR_APP = 64

Do not call Gtk.Application.set_accels_for_action().

IGNORE_TOOLTIP = 8

Do not set a tooltip/long description.