Adw.WindowTitle¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Adw.WindowTitle(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A helper widget for setting a window’s title and subtitle.
<picture> <source srcset=”window-title-dark.png” media=”(prefers-color-scheme: dark)”> <img src=”window-title.png” alt=”window-title”> </picture>
AdwWindowTitle
shows a title and subtitle. It’s intended to be used as the title child of [class`Gtk`.HeaderBar] or [class`HeaderBar`].- CSS nodes
AdwWindowTitle
has a single CSS node with namewindowtitle
.- classmethod new(title, subtitle)¶
- Parameters:
- Returns:
the newly created
AdwWindowTitle
- Return type:
Creates a new
AdwWindowTitle
.
Property Details¶
- Adw.WindowTitle.props.subtitle¶
- Name:
subtitle
- Type:
- Default Value:
''
- Flags:
The subtitle to display.
The subtitle should give the user additional details.
- Adw.WindowTitle.props.title¶
- Name:
title
- Type:
- Default Value:
''
- Flags:
The title to display.
The title typically identifies the current view or content item, and generally does not use the application name.