Top |
GtkWidget * | gtk_action_bar_new () |
void | gtk_action_bar_pack_start () |
void | gtk_action_bar_pack_end () |
GtkWidget * | gtk_action_bar_get_center_widget () |
void | gtk_action_bar_set_center_widget () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkActionBar
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.
GtkWidget *
gtk_action_bar_new (void
);
Creates a new GtkActionBar widget.
Since: 3.12
void gtk_action_bar_pack_start (GtkActionBar *action_bar
,GtkWidget *child
);
Adds child
to action_bar
, packed with reference to the
start of the action_bar
.
Since: 3.12
void gtk_action_bar_pack_end (GtkActionBar *action_bar
,GtkWidget *child
);
Adds child
to action_bar
, packed with reference to the
end of the action_bar
.
Since: 3.12
GtkWidget *
gtk_action_bar_get_center_widget (GtkActionBar *action_bar
);
Retrieves the center bar widget of the bar.
Since: 3.12
void gtk_action_bar_set_center_widget (GtkActionBar *action_bar
,GtkWidget *center_widget
);
Sets the center widget for the GtkActionBar.
Since: 3.12
“pack-type”
child property“pack-type” GtkPackType
A GtkPackType indicating whether the child is packed with reference to the start or end of the parent.
Owner: GtkActionBar
Flags: Read / Write
Default value: GTK_PACK_START