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 adw.header_bar.HeaderBar.

CSS nodes

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

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
WindowTitle self() nothrowReturns `this`, for use in `with` statements.
WindowTitleGidBuilder builder() static nothrowGet builder for [adw.window_title.WindowTitle] Returns: New builder object
string subtitle() @property nothrowGet `subtitle` property. Returns: The subtitle to display.
void subtitle(string propval) @property nothrowSet `subtitle` property. Params: propval = The subtitle to display.
string title() @property nothrowGet `title` property. Returns: The title to display.
void title(string propval) @property nothrowSet `title` property. Params: propval = The title to display.
string getSubtitle() nothrowGets the subtitle of self. Returns: the subtitle
string getTitle() nothrowGets the title of self. Returns: the title
void setSubtitle(string subtitle) nothrowSets the subtitle of self.
void setTitle(string title) nothrowSets the title of self.
Constructors
this(void * ptr, Flag!"Take" take)
this(string title, string subtitle)Creates a new [adw.window_title.WindowTitle].

Fluent builder implementation template for adw.window_title.WindowTitle

Methods
T subtitle(string propval) nothrowSet `subtitle` property. Params: propval = The subtitle to display.
T title(string propval) nothrowSet `title` property. Params: propval = The title to display.

Fluent builder for adw.window_title.WindowTitle

Methods
WindowTitle build() nothrowCreate object from builder. Returns: New object