Method

Gtk.HeaderBar.set_title_widget

Declaration [src]

void
gtk_header_bar_set_title_widget (
  GtkHeaderBar* bar,
  GtkWidget* title_widget
)

Description [src]

Sets the title for the GtkHeaderBar.

When set to NULL, the headerbar will display the title of the window it is contained in.

The title should help a user identify the current view. To achieve the same style as the builtin title, use the “title” style class.

You should set the title widget to NULL, for the window title label to be visible again.

Parameters

title_widget GtkWidget
 

a widget to use for a title

 Can be NULL
 Ownership is not transferred to the callee