Class

GntBindable

Description

abstract class Gnt.Bindable : GObject.Object {
  parent_instance: GObject
}
No description available.

Ancestors

Descendants

Functions

gnt_bindable_register_binding

Register a key-binding to an existing action.

Instance methods

gnt_bindable_bindings_view

Returns a GntTree populated with “key” -> “binding” for the widget.

since: 2.1.1

gnt_bindable_build_help_window

Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.

since: 2.1.1

gnt_bindable_check_key

Discover if a key is bound.

since: 2.4.2

gnt_bindable_perform_action_key

Perform an action from a keybinding.

gnt_bindable_perform_action_named

Perform an action on a bindable object.

gnt_bindable_remap_keys
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GntBindableClass {
  GHashTable* remaps;
  GHashTable* actions;
  GHashTable* bindings;
  GntBindable* help_window;
  
}

The class structure for GntBindable. Note, while documented, the fields here are private.

Class members
remaps: GHashTable*

A table of key remaps from one key to another.

actions: GHashTable*

A table of registered names to actions, added by gnt_bindable_class_register_action().

bindings: GHashTable*

A table of registered keys to actions, added by gnt_bindable_register_binding().

help_window: GntBindable*

A GntWindow used for displaying key binding help.

Class methods

gnt_bindable_class_register_action

Register a bindable action for a class.