Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-2.0.gir |
C documentation: | GdkModifierType |
Enum : | ModifierType |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gdk.ModifierType.BUTTON1_MASK : 256
|
|
Number Gdk.ModifierType.BUTTON2_MASK : 512
|
|
Number Gdk.ModifierType.BUTTON3_MASK : 1024
|
|
Number Gdk.ModifierType.BUTTON4_MASK : 2048
|
|
Number Gdk.ModifierType.BUTTON5_MASK : 4096
|
|
Number Gdk.ModifierType.CONTROL_MASK : 4
|
|
Number Gdk.ModifierType.HYPER_MASK : 134217728
|
|
Number Gdk.ModifierType.LOCK_MASK : 2
|
|
Number Gdk.ModifierType.META_MASK : 268435456
|
|
Number Gdk.ModifierType.MOD1_MASK : 8
|
|
Number Gdk.ModifierType.MOD2_MASK : 16
|
|
Number Gdk.ModifierType.MOD3_MASK : 32
|
|
Number Gdk.ModifierType.MOD4_MASK : 64
|
|
Number Gdk.ModifierType.MOD5_MASK : 128
|
|
Number Gdk.ModifierType.MODIFIER_MASK : 1543512063
|
|
Number Gdk.ModifierType.RELEASE_MASK : 1073741824
|
|
Number Gdk.ModifierType.SHIFT_MASK : 1
|
|
Number Gdk.ModifierType.SUPER_MASK : 67108864
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk
Method |
Gdk.test_simulate_button
(Window window, Number x, Number y, Number button, ModifierType modifiers, EventType button_pressrelease)
:
Boolean
|
Gdk
Method |
Gdk.test_simulate_key
(Window window, Number x, Number y, Number keyval, ModifierType modifiers, EventType key_pressrelease)
:
Boolean
|
Gdk.Device
Method |
|
Gdk.Device
Method |
Gets the current state of a device.
|
Gdk.Display
Method |
Gets the current location of the pointer and the current modifier mask for a given display.
|
Gdk.Event
Method |
get_state
(ModifierType state)
:
Boolean
If the event contains a "state" field, puts that field in state.
|
Gdk.Keymap
Method |
translate_keyboard_state
(Number hardware_keycode, ModifierType state, Number group, Object out_values)
:
Boolean
Translates the contents of a GdkEventKey into a keyval, effective group, and level.
|
Gdk.Keymap
Method |
add_virtual_modifiers
(ModifierType state)
:
none
Adds virtual modifiers (i.e.
|
Gdk.Keymap
Method |
map_virtual_modifiers
(ModifierType state)
:
Boolean
Maps the virtual modifiers (i.e.
|
Gtk
Method |
Finds the first accelerator in any GtkAccelGroup attached to object that matches accel_key and accel_mods, and activates that accelerator.
|
Gtk
Method |
Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.
|
Gtk
Method |
Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse().
|
Gtk
Method |
Gtk.accelerator_parse
(String accelerator, Number accelerator_key, ModifierType accelerator_mods)
:
Number
Parses a string representing an accelerator.
|
Gtk
Method |
Gtk.accelerator_set_default_mod_mask
(ModifierType default_mod_mask)
:
none
Sets the modifiers that will be considered significant for keyboard accelerators.
|
Gtk
Method |
Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator.
|
Gtk
Method |
Gtk.binding_entry_add_signall
(BindingSet binding_set, Number keyval, ModifierType modifiers, String signal_name, Array binding_args)
:
none
Override or install a new key binding for keyval with modifiers on
|
Gtk
Method |
Clears a binding entry.
|
Gtk
Method |
Remove a binding previously installed via gtk_binding_entry_add_signal() on binding_set.
|
Gtk
Method |
Install a binding on binding_set which causes key lookups to be aborted, to prevent bindings from lower priority sets to be activated.
|
Gtk
Method |
Find a key binding matching keyval and modifiers and activate the binding on object.
|
Gtk
Method |
Gtk.drag_source_set
(Widget widget, ModifierType start_button_mask, Array targets, Number n_targets, DragAction actions)
:
none
Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget.
|
Gtk
Method |
If there is a current event and it has a state field, place that state field in state and return TRUE, otherwise return FALSE.
|
Gtk
Method |
|
Gtk
Method |
|
Gtk.AccelGroup
Property |
modifier_mask : Gdk.ModifierType
read only
|
Gtk.AccelGroup
Signal |
accel_activate
(AccelGroup self, Object acceleratable, Number keyval, ModifierType modifier)
:
Boolean
The accel-activate signal is an implementation detail of GtkAccelGroup and not meant to be used by applications.
|
Gtk.AccelGroup
Signal |
The accel-changed signal is emitted when a GtkAccelGroupEntry is added to or removed from the accel group.
|
Gtk.AccelGroup
Method |
get_modifier_mask
()
:
Gdk.ModifierType
Gets a GdkModifierType representing the mask for this
|
Gtk.AccelGroup
Method |
Installs an accelerator in this group.
|
Gtk.AccelGroup
Method |
Removes an accelerator previously installed through gtk_accel_group_connect().
|
Gtk.AccelGroup
Method |
activate
(Number accel_quark, Object acceleratable, Number accel_key, ModifierType accel_mods)
:
Boolean
Finds the first accelerator in accel_group that matches accel_key and accel_mods, and activates it.
|
Gtk.AccelGroup
Method |
Queries an accelerator group for all entries matching accel_key and
|
Gtk.AccelMap
Signal |
Notifies of a change in the global accelerator map.
|
Gtk.AccelMap
Method |
Registers a new accelerator with the global accelerator map.
|
Gtk.AccelMap
Method |
Gtk.AccelMap.change_entry
(String accel_path, Number accel_key, ModifierType accel_mods, Boolean replace)
:
Boolean
Changes the accel_key and accel_mods currently associated with accel_path.
|
Gtk.BindingSet
Method |
Find a key binding matching keyval and modifiers within
|
Gtk.CellRendererAccel
Property |
accel_mods : Gdk.ModifierType
The modifier mask of the accelerator.
|
Gtk.CellRendererAccel
Signal |
accel_edited
(CellRendererAccel self, String path_string, Number accel_key, ModifierType accel_mods, Number hardware_keycode)
:
none
Gets emitted when the user has selected a new accelerator.
|
Gtk.IconView
Method |
enable_model_drag_source
(ModifierType start_button_mask, TargetEntry targets, Number n_targets, DragAction actions)
:
none
Turns icon_view into a drag source for automatic DND.
|
Gtk.ItemFactory
Method |
Gtk.ItemFactory.add_foreign
(Widget accel_widget, String full_path, AccelGroup accel_group, Number keyval, ModifierType modifiers)
:
none
Installs an accelerator for accel_widget in accel_group, that causes the ::activate signal to be emitted if the accelerator is activated.
|
Gtk.TreeView
Method |
enable_model_drag_source
(ModifierType start_button_mask, TargetEntry targets, Number n_targets, DragAction actions)
:
none
Turns tree_view into a drag source for automatic DND.
|
Gtk.Widget
Method |
add_accelerator
(String accel_signal, AccelGroup accel_group, Number accel_key, ModifierType accel_mods, AccelFlags accel_flags)
:
none
|
Gtk.Widget
Method |
Removes an accelerator from widget, previously installed with gtk_widget_add_accelerator().
|
Gtk.Window
Method |
Activates the targets associated with the mnemonic.
|
Gtk.Window
Method |
set_mnemonic_modifier
(ModifierType modifier)
:
none
Sets the mnemonic modifier for this window.
|
Gtk.Window
Method |
get_mnemonic_modifier
()
:
Gdk.ModifierType
Returns the mnemonic modifier for this window.
|