:right-sidebar: True Application =================================================================== .. currentmodule:: gi.repository.Adw .. class:: Application(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Application`, :class:`~gi.repository.Gio.Application`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gio.ActionGroup`, :class:`~gi.repository.Gio.ActionMap` :Constructors: :: Application(**properties) new(application_id:str=None, flags:Gio.ApplicationFlags) -> Adw.Application Constructors ------------ .. rst-class:: interim-class .. class:: Application :no-index: .. classmethod:: new(application_id: str | None, flags: ~gi.repository.Gio.ApplicationFlags) -> ~gi.repository.Adw.Application Creates a new ``AdwApplication``. If ``application_id`` is not ``NULL``, then it must be valid. See :obj:`~gi.repository.Gio.Application.id_is_valid`. If no application ID is given then some features (most notably application uniqueness) will be disabled. :param application_id: The application ID :param flags: The application flags Methods ------- .. rst-class:: interim-class .. class:: Application :no-index: .. method:: get_style_manager() -> ~gi.repository.Adw.StyleManager Gets the style manager for ``self``. This is a convenience property allowing to access ``AdwStyleManager`` through property bindings or expressions. Properties ---------- .. rst-class:: interim-class .. class:: Application :no-index: .. attribute:: props.style_manager :type: ~gi.repository.Adw.StyleManager The style manager for this application. This is a convenience property allowing to access ``AdwStyleManager`` through property bindings or expressions. Fields ------ .. rst-class:: interim-class .. class:: Application :no-index: .. attribute:: parent_instance