ActionBar

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.

Constructors

this
this(GtkActionBar* gtkActionBar, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Creates a new #GtkActionBar widget.

Members

Functions

getActionBarStruct
GtkActionBar* getActionBarStruct()

Get the main Gtk struct

getCenterWidget
Widget getCenterWidget()

Retrieves the center bar widget of the bar.

getStruct
void* getStruct()

the main Gtk struct as a void*

packEnd
void packEnd(Widget child)

Adds @child to @action_bar, packed with reference to the end of the @action_bar.

packStart
void packStart(Widget child)

Adds @child to @action_bar, packed with reference to the start of the @action_bar.

setCenterWidget
void setCenterWidget(Widget centerWidget)

Sets the center widget for the #GtkActionBar.

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getType
GType getType()

Variables

gtkActionBar
GtkActionBar* gtkActionBar;

the main Gtk struct

Inherited Members

From Bin

gtkBin
GtkBin* gtkBin;

the main Gtk struct

getBinStruct
GtkBin* getBinStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
GType getType()
getChild
Widget getChild()

Gets the child of the #GtkBin, or %NULL if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.

Meta