Flags

Details

class IBus.BusNameFlag(value)

Bases: GObject.GFlags

ALLOW_REPLACEMENT = 1

same as DBUS_NAME_FLAG_ALLOW_REPLACEMENT

REPLACE_EXISTING = 2

same as DBUS_NAME_FLAG_REPLACE_EXISTING

DO_NOT_QUEUE = 4

same as DBUS_NAME_FLAG_DO_NOT_QUEUE

class IBus.Capabilite(value)

Bases: GObject.GFlags

Capability flags of UI.

PREEDIT_TEXT = 1

UI is capable to show pre-edit text.

PROPERTY = 16

UI is capable to have property.

AUXILIARY_TEXT = 2

UI is capable to show auxiliary text.

SURROUNDING_TEXT = 32

Client can provide surround text, or IME can handle surround text.

LOOKUP_TABLE = 4

UI is capable to show the lookup table.

FOCUS = 8

UI is capable to get focus.

class IBus.InputHints(value)

Bases: GObject.GFlags

Describes hints that might be taken into account by engines. Note that engines may already tailor their behaviour according to the IBus.InputPurpose of the entry.

NONE = 0

No special behaviour suggested

SPELLCHECK = 1

Suggest checking for typos

INHIBIT_OSK = 128

Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).

UPPERCASE_CHARS = 16

Suggest to capitalize all text

NO_SPELLCHECK = 2

Suggest not checking for typos

VERTICAL_WRITING = 256

The text is vertical.

UPPERCASE_WORDS = 32

Suggest to capitalize the first character of each word

WORD_COMPLETION = 4

Suggest word completion

UPPERCASE_SENTENCES = 64

Suggest to capitalize the first word of each sentence

LOWERCASE = 8

Suggest to convert all text to lowercase

class IBus.ModifierType(value)

Bases: GObject.GFlags

Handles key modifier such as control, shift and alt and release event. Note that nits 15 - 25 are currently unused, while bit 29 is used internally.

SHIFT_MASK = 1

Shift is activated.

BUTTON3_MASK = 1024

Mouse button 3 (right) is activated.

RELEASE_MASK = 1073741824

Key is released.

MOD5_MASK = 128

Modifier 5 (ISO_Level3_Shift (0x5c), Mode_switch (0xcb)) activated.

HYPER_MASK = 134217728

Hyper key is activated.

MODIFIER_MASK = 1593843711

Modifier mask for the all the masks above.

MOD2_MASK = 16

Modifier 2 (Usually Num_Lock (0x4d)) activated.

HANDLED_MASK = 16777216

Handled mask indicates the event has been handled by ibus.

LOCK_MASK = 2

Cap Lock is locked.

BUTTON4_MASK = 2048

Mouse button 4 (scroll up) is activated.

BUTTON1_MASK = 256

Mouse button 1 (left) is activated.

META_MASK = 268435456

Meta key is activated.

MOD3_MASK = 32

Modifier 3 activated.

FORWARD_MASK = 33554432

Forward mask indicates the event has been forward from ibus.

IGNORED_MASK = 33554432

It is an alias of IBus.ModifierType.FORWARD_MASK.

CONTROL_MASK = 4

Control key is activated.

BUTTON5_MASK = 4096

Mouse button 5 (scroll down) is activated.

BUTTON2_MASK = 512

Mouse button 2 (middle) is activated.

MOD4_MASK = 64

Modifier 4 (Usually Super_L (0xce), Hyper_L (0xcf)) activated.

SUPER_MASK = 67108864

Super (Usually Win) key is activated.

MOD1_MASK = 8

Modifier 1 (Usually Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)) activated.

class IBus.ObjectFlags(value)

Bases: GObject.GFlags

The flags are used internally.

IN_DESTRUCTION = 1

Used in GObjectClass::dispose

DESTROYED = 2

Used during emitting IBus.Object ::destroy signal.

RESERVED_1 = 4

Reserved.

RESERVED_2 = 8

Reserved.