Class
GntBox
Constructors
gnt_box_new
Create a new box.
Instance methods
gnt_box_add_widget
Add a widget in the box.
gnt_box_give_focus_to_child
Give focus to a specific child widget.
gnt_box_move_focus
Move the focus from one widget to the other.
gnt_box_readjust
Readjust the size of each child widget, reposition the child widgets and recalculate the size of the box.
gnt_box_remove
Remove a widget from the box. Calling this does NOT destroy the removed widget.
gnt_box_remove_all
Remove all widgets from the box. This DOES destroy all widgets in the box.
gnt_box_set_alignment
Set the alignment for the widgets in the box.
gnt_box_set_fill
Set whether the widgets in the box should fill the empty spaces.
gnt_box_set_pad
Set the padding to use between the widgets in the box.
gnt_box_set_title
Set a title for the box.
gnt_box_set_toplevel
Set whether it’s a toplevel box (ie, a window) or not. If a box is toplevel,
then it will show borders, the title (if set) and shadow (if enabled in
gnt_box_sync_children
Reposition and refresh the widgets in the box.
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
Properties
Gnt.Box:homogeneous
Gnt.Box:vertical
Signals
Signals inherited from GntWidget (15)
Gnt.Widget::activate
Gnt.Widget::clicked
Gnt.Widget::confirm-size
Gnt.Widget::context-menu
Gnt.Widget::destroy
Gnt.Widget::draw
Gnt.Widget::expose
Gnt.Widget::gained-focus
Gnt.Widget::hide
Gnt.Widget::key-pressed
Gnt.Widget::lost-focus
Gnt.Widget::map
Gnt.Widget::position-set
Gnt.Widget::size-changed
Gnt.Widget::size-request
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.