set_title_widget


Description:

public void set_title_widget (Widget? title_widget)

Sets the title widget for this.

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

To use a different title, use [class@WindowTitle]:

```xml <object class="AdwHeaderBar"> <property name="title-widget"> <object class="AdwWindowTitle"> <property name="title" translatable="yes">Title</property> </object> </property> </object> ```

Parameters:

this

a header bar

title_widget

a widget to use for a title