| Top | Description | Object Hierarchy |
MetaKeyBinding; #define META_TYPE_KEY_BINDING const char * meta_key_binding_get_name (MetaKeyBinding *binding); MetaVirtualModifier meta_key_binding_get_modifiers (MetaKeyBinding *binding); guint meta_key_binding_get_mask (MetaKeyBinding *binding); gboolean meta_key_binding_is_builtin (MetaKeyBinding *binding); gboolean meta_keybindings_set_custom_handler (const gchar *name,MetaKeyHandlerFunc handler,gpointer user_data,GDestroyNotify free_data); void meta_screen_ungrab_all_keys (MetaScreen *screen,guint32 timestamp); gboolean meta_screen_grab_all_keys (MetaScreen *screen,guint32 timestamp);
MetaVirtualModifier meta_key_binding_get_modifiers (MetaKeyBinding *binding);
gboolean meta_keybindings_set_custom_handler (const gchar *name,MetaKeyHandlerFunc handler,gpointer user_data,GDestroyNotify free_data);
Allows users to register a custom handler for a builtin key binding.
|
The name of the keybinding to set |
|
The new handler function. [allow-none] |
|
User data to pass to the callback |
|
Will be called when this handler is overridden. |
Returns : |
TRUE if the binding known as name was found,
FALSE otherwise. |
void meta_screen_ungrab_all_keys (MetaScreen *screen,guint32 timestamp);
gboolean meta_screen_grab_all_keys (MetaScreen *screen,guint32 timestamp);