Method

GtkNotebookset_action_widget

since: 2.20

Declaration [src]

void
gtk_notebook_set_action_widget (
  GtkNotebook* notebook,
  GtkWidget* widget,
  GtkPackType pack_type
)

Description [src]

Sets widget as one of the action widgets. Depending on the pack type the widget will be placed before or after the tabs. You can use a GtkBox if you need to pack more than one widget on the same side.

Note that action widgets are “internal” children of the notebook and thus not included in the list returned from gtk_container_foreach().

Available since: 2.20

Parameters

widget

Type: GtkWidget

A GtkWidget.

The data is owned by the caller of the method.
pack_type

Type: GtkPackType

Pack type of the action widget.