gtk.action_bar

Module for [ActionBar] class

Types 3

GtkActionBar is designed to present contextual actions. It is expected to be displayed below the content and expand horizontally to fill the area.

It allows placing children at the start or the end. In addition, it contains an internal centered box which is centered with respect to the full width of the box, even if the children at either side take up different amounts of space.

CSS nodes

GtkActionBar has a single CSS node with name actionbar.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
ActionBar self() nothrowReturns `this`, for use in `with` statements.
ActionBarGidBuilder builder() static nothrowGet builder for [gtk.action_bar.ActionBar] Returns: New builder object
gtk.widget.Widget getCenterWidget() nothrowRetrieves the center bar widget of the bar. Returns: the center #GtkWidget or null.
void packEnd(gtk.widget.Widget child) nothrowAdds child to action_bar, packed with reference to the end of the action_bar.
void packStart(gtk.widget.Widget child) nothrowAdds child to action_bar, packed with reference to the start of the action_bar.
void setCenterWidget(gtk.widget.Widget centerWidget = null) nothrowSets the center widget for the #GtkActionBar.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkActionBar widget. Returns: a new #GtkActionBar

Fluent builder implementation template for gtk.action_bar.ActionBar

Fluent builder for gtk.action_bar.ActionBar

Methods
ActionBar build() nothrowCreate object from builder. Returns: New object