1.79 <AdwWindowTitle>

Class: <AdwWindowTitle>

It derives from <GtkWidget>.

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

<AdwWindowTitle> shows a title and subtitle. It’s intended to be used as the title child of <GtkHeaderBar> or HeaderBar.

CSS nodes

<AdwWindowTitle> has a single CSS node with name windowtitle.

Properties

Property: window-title:subtitle self

The subtitle to display.

The subtitle should give the user additional details.

Its value is a string, or #f.

Set it with (set! (window-title:subtitle self) value).

Property: window-title:title self

The title to display.

The title typically identifies the current view or content item, and generally does not use the application name.

Its value is a string, or #f.

Set it with (set! (window-title:title self) value).

Procedures

Method: window-title:get-subtitle self ⇒ %return
Method: get-subtitle self ⇒ %return

Gets the subtitle of self.

self

Passed: a <AdwWindowTitle>.

a window title

%return

Returned: a string.

the subtitle

Method: window-title:get-title self ⇒ %return
Method: get-title self ⇒ %return

Gets the title of self.

self

Passed: a <AdwWindowTitle>.

a window title

%return

Returned: a string.

the title

Procedure: window-title:new title subtitle ⇒ %return

Creates a new <AdwWindowTitle>.

title

Passed: a string.

a title

subtitle

Passed: a string.

a subtitle

%return

Returned: a <GtkWidget>.

the newly created <AdwWindowTitle>

Method: window-title:set-subtitle self subtitle
Method: set-subtitle self subtitle

Sets the subtitle of self.

The subtitle should give the user additional details.

self

Passed: a <AdwWindowTitle>.

a window title

subtitle

Passed: a string.

a subtitle

Method: window-title:set-title self title
Method: set-title self title

Sets the title of self.

The title typically identifies the current view or content item, and generally does not use the application name.

self

Passed: a <AdwWindowTitle>.

a window title

title

Passed: a string.

a title