Class

GntButton

Description

class Gnt.Button : Gnt.Widget {
  parent_instance: GntWidget
}
No description available.

Descendants

Constructors

gnt_button_new

Create a new button.

Instance methods

gnt_button_get_text

Get the text of a button.

Available since: 2.14.0

gnt_button_set_text

Set the text of a button.

Available since: 2.14.0

Methods inherited from GntWidget (48)

Please see GntWidget for a full list of methods.

Methods inherited from GntBindable (6)
gnt_bindable_bindings_view

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

Available 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.

Available since: 2.1.1

gnt_bindable_check_key

Discover if a key is bound.

Available 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 (42)

Please see GObject for a full list of methods.

Signals

Signals inherited from GntWidget (15)
Gnt.Widget::activate
No description available.
Gnt.Widget::clicked
No description available.
Gnt.Widget::confirm-size
No description available.
Gnt.Widget::context-menu
No description available.
Gnt.Widget::destroy
No description available.
Gnt.Widget::draw
No description available.
Gnt.Widget::expose
No description available.
Gnt.Widget::gained-focus
No description available.
Gnt.Widget::hide
No description available.
Gnt.Widget::key-pressed
No description available.
Gnt.Widget::lost-focus
No description available.
Gnt.Widget::map
No description available.
Gnt.Widget::position-set
No description available.
Gnt.Widget::size-changed
No description available.
Gnt.Widget::size-request
No description available.
Signals inherited from GObject (1)
GObject.Object::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 GntButtonClass {
  /* no available fields */
}

The class structure for GntButton.