HeaderBar.setTitleWidget

void setTitleWidget(gtk.widget.Widget titleWidget = null)

Sets the title widget for self.

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

To use a different title, use classWindowTitle:

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

Parameters

titleWidgeta widget to use for a title