Class

AdwWindowTitle

Description [src]

final class Adw.WindowTitle : Gtk.Widget {
  /* No available fields */
}

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 AdwHeaderBar.

CSS nodes

AdwWindowTitle has a single CSS node with name windowtitle.

Available since:1.0

Hierarchy

hierarchy this AdwWindowTitle implements_0 GtkAccessible this--implements_0 implements_1 GtkBuildable this--implements_1 implements_2 GtkConstraintTarget this--implements_2 ancestor_0 GtkWidget ancestor_0--this ancestor_1 GInitiallyUnowned ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1

Ancestors

  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • GtkAccessible
  • GtkBuildable
  • GtkConstraintTarget

Constructors

adw_window_title_new

Creates a new AdwWindowTitle.

Available since: 1.0

Instance methods

adw_window_title_get_subtitle

Gets the subtitle of self.

Available since: 1.0

adw_window_title_get_title

Gets the title of self.

Available since: 1.0

adw_window_title_set_subtitle

Sets the subtitle of self.

Available since: 1.0

adw_window_title_set_title

Sets the title of self.

Available since: 1.0

Properties

Adw.WindowTitle:subtitle

The subtitle to display.

Available since: 1.0

Adw.WindowTitle:title

The title to display.

Available since: 1.0

Class structure

struct AdwWindowTitleClass {
  GtkWidgetClass parent_class;
  
}
Class members
parent_class
GtkWidgetClass
  No description available.