Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Enum Gdk.ModifierType

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-2.0.gir
C documentation: GdkModifierType
Enum : ModifierType
  Show / Hide Inherited methods, properties and signals
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
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
set_key (Number index_, Number keyval, ModifierType modifiers) : none
Gdk.Device
Method
get_state (Window window, Number axes, ModifierType mask) : Number
Gets the current state of a device.
Gdk.Display
Method
get_pointer (Screen screen) : Object
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
Gtk.accel_groups_activate (Object object, Number accel_key, ModifierType accel_mods) : Boolean
Finds the first accelerator in any GtkAccelGroup attached to object that matches accel_key and accel_mods, and activates that accelerator.
Gtk
Method
Gtk.accelerator_get_label (Number accelerator_key, ModifierType accelerator_mods) : String
Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.
Gtk
Method
Gtk.accelerator_name (Number accelerator_key, ModifierType accelerator_mods) : String
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
Gtk.accelerator_valid (Number keyval, ModifierType modifiers) : Boolean
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
Gtk.binding_entry_clear (BindingSet binding_set, Number keyval, ModifierType modifiers) : none
Clears a binding entry.
Gtk
Method
Gtk.binding_entry_remove (BindingSet binding_set, Number keyval, ModifierType modifiers) : none
Remove a binding previously installed via gtk_binding_entry_add_signal() on binding_set.
Gtk
Method
Gtk.binding_entry_skip (BindingSet binding_set, Number keyval, ModifierType modifiers) : none
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
Gtk.bindings_activate (Object object, Number keyval, ModifierType modifiers) : Boolean
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
Gtk.get_current_event_state (ModifierType state) : Boolean
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.test_widget_click (Widget widget, Number button, ModifierType modifiers) : Boolean
Gtk
Method
Gtk.test_widget_send_key (Widget widget, Number keyval, ModifierType modifiers) : Boolean
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
accel_changed (AccelGroup self, Number keyval, ModifierType modifier, Closure accel_closure) : none
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
connect (Number accel_key, ModifierType accel_mods, AccelFlags accel_flags, Closure closure) : none
Installs an accelerator in this group.
Gtk.AccelGroup
Method
disconnect_key (Number accel_key, ModifierType accel_mods) : Boolean
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
query (Number accel_key, ModifierType accel_mods, Object out_values) : Gtk.AccelGroupEntry
Queries an accelerator group for all entries matching accel_key and
Gtk.AccelMap
Signal
changed (AccelMap self, String accel_path, Number accel_key, ModifierType accel_mods) : none
Notifies of a change in the global accelerator map.
Gtk.AccelMap
Method
Gtk.AccelMap.add_entry (String accel_path, Number accel_key, ModifierType accel_mods) : none
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
activate (Number keyval, ModifierType modifiers, Object object) : Boolean
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
remove_accelerator (AccelGroup accel_group, Number accel_key, ModifierType accel_mods) : Boolean
Removes an accelerator from widget, previously installed with gtk_widget_add_accelerator().
Gtk.Window
Method
mnemonic_activate (Number keyval, ModifierType modifier) : Boolean
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:33:26 GMT+0800 (HKT)