set_custom_title


Description:

[ Version ( since = "3.10" ) ]
public void set_custom_title (Widget? title_widget)

Sets a custom title for the HeaderBar.

The title should help a user identify the current view. This supersedes any title set by set_title or 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.

Parameters:

this

a HeaderBar

title_widget

a custom widget to use for a title




2022 vala-language.org