adw.window_title

Module for [WindowTitle] class

Types 3

A helper widget for setting a window's title and subtitle.

window-title

[adw.window_title.WindowTitle] shows a title and subtitle. It's intended to be used as the title child of [gtk.header_bar.HeaderBar] or class@HeaderBar.

CSS nodes

[adw.window_title.WindowTitle] has a single CSS node with name windowtitle.

Methods
GType _gType() @property
WindowTitle self()Returns `this`, for use in `with` statements.
WindowTitleGidBuilder builder()Get builder for [adw.window_title.WindowTitle] Returns: New builder object
string subtitle() @propertyGet `subtitle` property. Returns: The subtitle to display.
void subtitle(string propval) @propertySet `subtitle` property. Params: propval = The subtitle to display.
string title() @propertyGet `title` property. Returns: The title to display.
void title(string propval) @propertySet `title` property. Params: propval = The title to display.
string getSubtitle()Gets the subtitle of self. Returns: the subtitle
string getTitle()Gets the title of self. Returns: the title
void setSubtitle(string subtitle)Sets the subtitle of self.
void setTitle(string title)Sets the title of self.
Constructors
this(void * ptr, Flag!"Take" take)
this(string title, string subtitle)Creates a new [adw.window_title.WindowTitle].
Methods
T subtitle(string propval)Set `subtitle` property. Params: propval = The subtitle to display.
T title(string propval)Set `title` property. Params: propval = The title to display.

Fluent builder for [adw.window_title.WindowTitle]