:right-sidebar: True WindowTitle =================================================================== .. currentmodule:: gi.repository.Adw .. class:: WindowTitle(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` :Constructors: :: WindowTitle(**properties) new(title:str, subtitle:str) -> Gtk.Widget Constructors ------------ .. rst-class:: interim-class .. class:: WindowTitle :no-index: .. classmethod:: new(title: str, subtitle: str) -> ~gi.repository.Gtk.Widget Creates a new ``AdwWindowTitle``. :param title: a title :param subtitle: a subtitle Methods ------- .. rst-class:: interim-class .. class:: WindowTitle :no-index: .. method:: get_subtitle() -> str Gets the subtitle of ``self``. .. method:: get_title() -> str Gets the title of ``self``. .. method:: set_subtitle(subtitle: str) -> None Sets the subtitle of ``self``. The subtitle should give the user additional details. :param subtitle: a subtitle .. method:: set_title(title: str) -> None Sets the title of ``self``. The title typically identifies the current view or content item, and generally does not use the application name. :param title: a title Properties ---------- .. rst-class:: interim-class .. class:: WindowTitle :no-index: .. attribute:: props.subtitle :type: str The subtitle to display. The subtitle should give the user additional details. .. attribute:: props.title :type: str The title to display. The title typically identifies the current view or content item, and generally does not use the application name.