Package: gtk

Accessor gtk-header-bar-custom-title

Lambda List

gtk-header-bar-custom-title (object)

Syntax

(gtk-header-bar-custom-title object) => widget
(setf (gtk-header-bar-custom-title object) widget)

Arguments

object -- a gtk-header-bar widget
widget -- a gtk-widget custom widget to use for a title

Details

Accessor of the custom-title slot of the gtk-header-bar class.

The gtk-header-bar-custom-title slot access function retrieves the custom title widget of the header bar. The (setf gtk-header-bar-custom-title) slot access function sets a custom title widget.

The title should help a user identify the current view. This supersedes any title set by the gtk-header-bar-title or gtk-header-bar-subtitle functions. To achieve the same style as the built-in title and subtitle, use the .title and .subtitle style classes.

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

See also

2021-10-14