Method

GtkHeaderBarset_custom_title

since: 3.10

Declaration [src]

void
gtk_header_bar_set_custom_title (
  GtkHeaderBar* bar,
  GtkWidget* title_widget
)

Description [src]

Sets a custom title for the GtkHeaderBar.

The title should help a user identify the current view. This supersedes any title set by gtk_header_bar_set_title() or gtk_header_bar_set_subtitle(). To achieve the same style as the builtin title and subtitle, use the “title” and “subtitle” style classes.

You should set the custom title to NULL, for the header title label to be visible again.

Available since: 3.10

Parameters

title_widget

Type: GtkWidget

A custom widget to use for a title.

The argument can be NULL.
The data is owned by the caller of the method.