Adw.AboutWindow¶
- Subclasses:
None
Methods¶
- Inherited:
Adw.Window (7), Gtk.Window (62), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Native (6), Gtk.Root (3)
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Adw.Window (4), Gtk.Window (25), Gtk.Widget (34), Gtk.Accessible (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
|||
r/w/en |
|||
[ |
r/w/en |
||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
[ |
r/w/en |
||
r/w/en |
|||
[ |
r/w/en |
||
[ |
r/w/en |
||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when a URL is activated. |
Fields¶
- Inherited:
Class Details¶
- class Adw.AboutWindow(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A window showing information about the application.
<picture> <source srcset=”about-window-dark.png” media=”(prefers-color-scheme: dark)”> <img src=”about-window.png” alt=”about-window”> </picture>
An about window is typically opened when the user activates the
About …
item in the application’s primary menu. All parts of the window are optional.- Main page
AdwAboutWindow
prominently displays the application’s icon, name, developer name and version. They can be set with the [property`AboutWindow`:py:data::application-icon<Adw.AboutWindow.props.application_icon>], [property`AboutWindow`:py:data::application-name<Adw.AboutWindow.props.application_name>], [property`AboutWindow`:py:data::developer-name<Adw.AboutWindow.props.developer_name>] and [property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>] respectively.- What’s New
AdwAboutWindow
provides a way for applications to display their release notes, set with the [property`AboutWindow`:py:data::release-notes<Adw.AboutWindow.props.release_notes>] property.Release notes are formatted the same way as AppStream descriptions.
The supported formatting options are:
Paragraph (
<p>
)Ordered list (
<ol>
), with list items (<li>
)Unordered list (
<ul>
), with list items (<li>
)
Within paragraphs and list items, emphasis (
<em>
) and inline code (<code>
) text styles are supported. The emphasis is rendered in italic, while inline code is shown in a monospaced font.Any text outside paragraphs or list items is ignored.
Nested lists are not supported.
Only one version can be shown at a time. By default, the displayed version number matches [property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>]. Use [property`AboutWindow`:py:data::release-notes-version<Adw.AboutWindow.props.release_notes_version>] to override it.
- Details
The Details page displays the application comments and links.
The comments can be set with the [property`AboutWindow`:py:data::comments<Adw.AboutWindow.props.comments>] property. Unlike [property`Gtk`.AboutDialog:comments], this string can be long and detailed. It can also contain links and Pango markup.
To set the application website, use [property`AboutWindow`:py:data::website<Adw.AboutWindow.props.website>]. To add extra links below the website, use [method`AboutWindow`.add_link].
If the Details page doesn’t have any other content besides website, the website will be displayed on the main page instead.
- Troubleshooting
AdwAboutWindow
displays the following two links on the main page:Support Questions, set with the [property`AboutWindow`:py:data::support-url<Adw.AboutWindow.props.support_url>] property,
Report an Issue, set with the [property`AboutWindow`:py:data::issue-url<Adw.AboutWindow.props.issue_url>] property.
Additionally, applications can provide debugging information. It will be shown separately on the Troubleshooting page. Use the [property`AboutWindow`:py:data::debug-info<Adw.AboutWindow.props.debug_info>] property to specify it.
It’s intended to be attached to issue reports when reporting issues against the application. As such, it cannot contain markup or links.
AdwAboutWindow
provides a quick way to save debug information to a file. When saving, [property`AboutWindow`:py:data::debug-info-filename<Adw.AboutWindow.props.debug_info_filename>] would be used as the suggested filename.- Credits and Acknowledgements
The Credits page has the following default sections:
Developers, set with the [property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>] property,
Designers, set with the [property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>] property,
Artists, set with the [property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>] property,
Documenters, set with the [property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>] property,
Translators, set with the [property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>] property.
When setting translator credits, use the strings
"translator-credits"
or"translator_credits"
and mark them as translatable.The default sections that don’t contain any names won’t be displayed.
The Credits page can also contain an arbitrary number of extra sections below the default ones. Use [method`AboutWindow`.add_credit_section] to add them.
The Acknowledgements page can be used to acknowledge additional people and organizations for their non-development contributions. Use [method`AboutWindow`.add_acknowledgement_section] to add sections to it. For example, it can be used to list backers in a crowdfunded project or to give special thanks.
Each of the people or organizations can have an email address or a website specified. To add a email address, use a string like
Edgar Allan Poe <edgar@poe.com>
. To specify a website with a title, use a string likeThe GNOME Project https://www.gnome.org
:<picture> <source srcset=”about-window-credits-dark.png” media=”(prefers-color-scheme: dark)”> <img src=”about-window-credits.png” alt=”about-window-credits”> </picture>
- Legal
The Legal page displays the copyright and licensing information for the application and other modules.
The copyright string is set with the [property`AboutWindow`:py:data::copyright<Adw.AboutWindow.props.copyright>] property and should be a short string of one or two lines, for example:
© 2022 Example
.Licensing information can be quickly set from a list of known licenses with the [property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>] property. If the application’s license is not in the list, [property`AboutWindow`:py:data::license<Adw.AboutWindow.props.license>] can be used instead.
To add information about other modules, such as application dependencies or data, use [method`AboutWindow`.add_legal_section].
- Constructing
To make constructing an
AdwAboutWindow
as convenient as possible, you can use the function [func`show_about_window`] which constructs and shows a window.```c static void show_about (
Gtk.Application
*app) { conststr
*developers[] = { “Angela Avery”,None
};const
str
*designers[] = { “GNOME Design Team”,None
};adw_show_about_window (
Gtk.Application.get_active_window
(app), “application-name”, _(“Example”), “application-icon”, “org.example.App”, “version”, “1.2.3”, “copyright”, “© 2022 Angela Avery”, “issue-url”, “https://gitlab.gnome.org/example/example/-/issues/new”, “license-type”,Gtk.License.GPL_3_0
, “developers”, developers, “designers”, designers, “translator-credits”, _(“translator-credits”),None
); } ```- CSS nodes
AdwAboutWindow
has a main CSS node with the namewindow
and the style class.about
.New in version 1.2.
- classmethod new()¶
- Returns:
the newly created
AdwAboutWindow
- Return type:
Creates a new
AdwAboutWindow
.New in version 1.2.
- classmethod new_from_appdata(resource_path, release_notes_version)¶
- Parameters:
- Returns:
the newly created
AdwAboutWindow
- Return type:
Creates a new
AdwAboutWindow
using AppStream metadata.This automatically sets the following properties with the following AppStream values:
[property`AboutWindow`:py:data::application-icon<Adw.AboutWindow.props.application_icon>] is set from the
<id>
[property`AboutWindow`:py:data::application-name<Adw.AboutWindow.props.application_name>] is set from the
<name>
[property`AboutWindow`:py:data::developer-name<Adw.AboutWindow.props.developer_name>] is set from the
<name>
within<developer>
[property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>] is set from the version of the latest release
[property`AboutWindow`:py:data::website<Adw.AboutWindow.props.website>] is set from the
<url type="homepage">
[property`AboutWindow`:py:data::support-url<Adw.AboutWindow.props.support_url>] is set from the
<url type="help">
[property`AboutWindow`:py:data::issue-url<Adw.AboutWindow.props.issue_url>] is set from the
<url type="bugtracker">
[property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>] is set from the
<project_license>
. If the license type retrieved from AppStream is not listed in [enum`Gtk`.License], it will be set toGTK_LICENCE_CUSTOM
.
If release_notes_version is not
NULL
, [property`AboutWindow`:py:data::release-notes-version<Adw.AboutWindow.props.release_notes_version>] is set to match it, while [property`AboutWindow`:py:data::release-notes<Adw.AboutWindow.props.release_notes>] is set from the AppStream release description for that version.New in version 1.4.
- add_acknowledgement_section(name, people)¶
-
Adds a section to the Acknowledgements page.
This can be used to acknowledge additional people and organizations for their non-development contributions - for example, backers in a crowdfunded project.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
New in version 1.2.
- add_credit_section(name, people)¶
-
Adds an extra section to the Credits page.
Extra sections are displayed below the standard categories.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- add_legal_section(title, copyright, license_type, license)¶
- Parameters:
Adds an extra section to the Legal page.
Extra sections will be displayed below the application’s own information.
The parameters copyright, license_type and license will be used to present the it the same way as [property`AboutWindow`:py:data::copyright<Adw.AboutWindow.props.copyright>], [property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>] and [property`AboutWindow`:py:data::license<Adw.AboutWindow.props.license>] are for the application’s own information.
See those properties for more details.
This can be useful to attribute the application dependencies or data.
Examples:
```c
Adw.AboutWindow.add_legal_section
(ADW_ABOUT_WINDOW (about), _(“Copyright and a known license”), “© 2022 Example”,Gtk.License.LGPL_2_1
,None
);Adw.AboutWindow.add_legal_section
(ADW_ABOUT_WINDOW (about), _(“Copyright and custom license”), “© 2022 Example”,Gtk.License.CUSTOM
, “Custom license text”);Adw.AboutWindow.add_legal_section
(ADW_ABOUT_WINDOW (about), _(“Copyright only”), “© 2022 Example”,Gtk.License.UNKNOWN
,None
);Adw.AboutWindow.add_legal_section
(ADW_ABOUT_WINDOW (about), _(“Custom license only”),None
,Gtk.License.CUSTOM
, “Something completely custom here.”); ```New in version 1.2.
- add_link(title, url)¶
-
Adds an extra link to the Details page.
Extra links are displayed under the comment and website.
Underlines in title will be interpreted as indicating a mnemonic.
See [property`AboutWindow`:py:data::website<Adw.AboutWindow.props.website>].
New in version 1.2.
- get_application_icon()¶
- Returns:
the application icon name
- Return type:
Gets the name of the application icon for self.
New in version 1.2.
- get_application_name()¶
- Returns:
the application name
- Return type:
Gets the application name for self.
New in version 1.2.
- get_artists()¶
-
Gets the list of artists of the application.
New in version 1.2.
- get_comments()¶
- Returns:
the comments
- Return type:
Gets the comments about the application.
New in version 1.2.
- get_copyright()¶
- Returns:
the copyright information
- Return type:
Gets the copyright information for self.
New in version 1.2.
- get_debug_info()¶
- Returns:
the debug information
- Return type:
Gets the debug information for self.
New in version 1.2.
- get_debug_info_filename()¶
- Returns:
the debug information filename
- Return type:
Gets the debug information filename for self.
New in version 1.2.
- get_designers()¶
-
Gets the list of designers of the application.
New in version 1.2.
- get_developer_name()¶
- Returns:
the developer_name
- Return type:
Gets the developer name for self.
New in version 1.2.
- get_developers()¶
-
Gets the list of developers of the application.
New in version 1.2.
- get_documenters()¶
-
Gets the list of documenters of the application.
New in version 1.2.
- get_issue_url()¶
- Returns:
the issue tracker URL
- Return type:
Gets the issue tracker URL for self.
New in version 1.2.
- get_license_type()¶
- Returns:
the license type
- Return type:
Gets the license type for self.
New in version 1.2.
- get_release_notes()¶
- Returns:
the release notes
- Return type:
Gets the release notes for self.
New in version 1.2.
- get_release_notes_version()¶
- Returns:
the release notes version
- Return type:
Gets the version described by the application’s release notes.
New in version 1.2.
- get_support_url()¶
- Returns:
the support page URL
- Return type:
Gets the URL of the support page for self.
New in version 1.2.
- get_translator_credits()¶
- Returns:
The translator credits string
- Return type:
Gets the translator credits string.
New in version 1.2.
- get_website()¶
- Returns:
the website URL
- Return type:
Gets the application website URL for self.
New in version 1.2.
- set_application_icon(application_icon)¶
- Parameters:
application_icon (
str
) – the application icon name
Sets the name of the application icon for self.
The icon is displayed at the top of the main page.
New in version 1.2.
- set_application_name(application_name)¶
- Parameters:
application_name (
str
) – the application name
Sets the application name for self.
The name is displayed at the top of the main page.
New in version 1.2.
- set_artists(artists)¶
-
Sets the list of artists of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- set_comments(comments)¶
- Parameters:
comments (
str
) – the comments
Sets the comments about the application.
Comments will be shown on the Details page, above links.
Unlike [property`Gtk`.AboutDialog:comments], this string can be long and detailed. It can also contain links and Pango markup.
New in version 1.2.
- set_copyright(copyright)¶
- Parameters:
copyright (
str
) – the copyright information
Sets the copyright information for self.
This should be a short string of one or two lines, for example:
© 2022 Example
.The copyright information will be displayed on the Legal page, before the application license.
[method`AboutWindow`.add_legal_section] can be used to add copyright information for the application dependencies or other components.
New in version 1.2.
- set_debug_info(debug_info)¶
- Parameters:
debug_info (
str
) – the debug information
Sets the debug information for self.
Debug information will be shown on the Troubleshooting page. It’s intended to be attached to issue reports when reporting issues against the application.
AdwAboutWindow
provides a quick way to save debug information to a file. When saving, [property`AboutWindow`:py:data::debug-info-filename<Adw.AboutWindow.props.debug_info_filename>] would be used as the suggested filename.Debug information cannot contain markup or links.
New in version 1.2.
- set_debug_info_filename(filename)¶
- Parameters:
filename (
str
) – the debug info filename
Sets the debug information filename for self.
It will be used as the suggested filename when saving debug information to a file.
See [property`AboutWindow`:py:data::debug-info<Adw.AboutWindow.props.debug_info>].
New in version 1.2.
- set_designers(designers)¶
-
Sets the list of designers of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- set_developer_name(developer_name)¶
- Parameters:
developer_name (
str
) – the developer name
Sets the developer name for self.
The developer name is displayed on the main page, under the application name.
If the application is developed by multiple people, the developer name can be set to values like “AppName team”, “AppName developers” or “The AppName project”, and the individual contributors can be listed on the Credits page, with [property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>] and related properties.
New in version 1.2.
- set_developers(developers)¶
-
Sets the list of developers of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- set_documenters(documenters)¶
-
Sets the list of documenters of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- set_issue_url(issue_url)¶
- Parameters:
issue_url (
str
) – the issue tracker URL
Sets the issue tracker URL for self.
The issue tracker link is displayed on the main page.
New in version 1.2.
- set_license(license)¶
- Parameters:
license (
str
) – the license
Sets the license for self.
This can be used to set a custom text for the license if it can’t be set via [property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>].
When set, [property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>] will be set to
GTK_LICENSE_CUSTOM
.The license text will be displayed on the Legal page, below the copyright information.
License text can contain Pango markup and links.
[method`AboutWindow`.add_legal_section] can be used to add license information for the application dependencies or other components.
New in version 1.2.
- set_license_type(license_type)¶
- Parameters:
license_type (
Gtk.License
) – the license type
Sets the license for self from a list of known licenses.
If the application’s license is not in the list, [property`AboutWindow`:py:data::license<Adw.AboutWindow.props.license>] can be used instead. The license type will be automatically set to
GTK_LICENSE_CUSTOM
in that case.If license_type is
GTK_LICENSE_UNKNOWN
, no information will be displayed.If license_type is different from
GTK_LICENSE_CUSTOM
. [property`AboutWindow`:py:data::license<Adw.AboutWindow.props.license>] will be cleared out.The license description will be displayed on the Legal page, below the copyright information.
[method`AboutWindow`.add_legal_section] can be used to add license information for the application dependencies or other components.
New in version 1.2.
- set_release_notes(release_notes)¶
- Parameters:
release_notes (
str
) – the release notes
Sets the release notes for self.
Release notes are displayed on the the What’s New page.
Release notes are formatted the same way as AppStream descriptions.
The supported formatting options are:
Paragraph (
<p>
)Ordered list (
<ol>
), with list items (<li>
)Unordered list (
<ul>
), with list items (<li>
)
Within paragraphs and list items, emphasis (
<em>
) and inline code (<code>
) text styles are supported. The emphasis is rendered in italic, while inline code is shown in a monospaced font.Any text outside paragraphs or list items is ignored.
Nested lists are not supported.
AdwAboutWindow
displays the version above the release notes. If set, the [property`AboutWindow`:py:data::release-notes-version<Adw.AboutWindow.props.release_notes_version>] of the property will be used as the version; otherwise, [property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>] is used.New in version 1.2.
- set_release_notes_version(version)¶
- Parameters:
version (
str
) – the release notes version
Sets the version described by the application’s release notes.
The release notes version is displayed on the What’s New page, above the release notes.
If not set, [property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>] will be used instead.
For example, an application with the current version 2.0.2 might want to keep the release notes from 2.0.0, and set the release notes version accordingly.
See [property`AboutWindow`:py:data::release-notes<Adw.AboutWindow.props.release_notes>].
New in version 1.2.
- set_support_url(support_url)¶
- Parameters:
support_url (
str
) – the support page URL
Sets the URL of the support page for self.
The support page link is displayed on the main page.
New in version 1.2.
- set_translator_credits(translator_credits)¶
- Parameters:
translator_credits (
str
) – the translator credits
Sets the translator credits string.
It will be displayed on the Credits page.
This string should be
"translator-credits"
or"translator_credits"
and should be marked as translatable.The string may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- set_version(version)¶
- Parameters:
version (
str
) – the version
Sets the version for self.
The version is displayed on the main page.
If [property`AboutWindow`:py:data::release-notes-version<Adw.AboutWindow.props.release_notes_version>] is not set, the version will also be displayed above the release notes on the What’s New page.
New in version 1.2.
- set_website(website)¶
- Parameters:
website (
str
) – the website URL
Sets the application website URL for self.
Website is displayed on the Details page, below comments, or on the main page if the Details page doesn’t have any other content.
Applications can add other links below, see [method`AboutWindow`.add_link].
New in version 1.2.
Signal Details¶
- Adw.AboutWindow.signals.activate_link(about_window, uri)¶
- Signal Name:
activate-link
- Flags:
- Parameters:
about_window (
Adw.AboutWindow
) – The object which received the signaluri (
str
) – the URI to activate
- Returns:
TRUE
if the link has been activated- Return type:
Emitted when a URL is activated.
Applications may connect to it to override the default behavior, which is to call [func`Gtk`.show_uri].
New in version 1.2.
Property Details¶
- Adw.AboutWindow.props.application_icon¶
- Name:
application-icon
- Type:
- Default Value:
''
- Flags:
The name of the application icon.
The icon is displayed at the top of the main page.
New in version 1.2.
- Adw.AboutWindow.props.application_name¶
- Name:
application-name
- Type:
- Default Value:
''
- Flags:
The name of the application.
The name is displayed at the top of the main page.
New in version 1.2.
- Adw.AboutWindow.props.artists¶
- Name:
artists
- Type:
[
str
]- Default Value:
[]
- Flags:
The list of artists of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- Adw.AboutWindow.props.comments¶
- Name:
comments
- Type:
- Default Value:
''
- Flags:
The comments about the application.
Comments will be shown on the Details page, above links.
Unlike [property`Gtk`.AboutDialog:comments], this string can be long and detailed. It can also contain links and Pango markup.
New in version 1.2.
- Adw.AboutWindow.props.copyright¶
- Name:
copyright
- Type:
- Default Value:
''
- Flags:
The copyright information.
This should be a short string of one or two lines, for example:
© 2022 Example
.The copyright information will be displayed on the Legal page, above the application license.
[method`AboutWindow`.add_legal_section] can be used to add copyright information for the application dependencies or other components.
New in version 1.2.
- Adw.AboutWindow.props.debug_info¶
- Name:
debug-info
- Type:
- Default Value:
''
- Flags:
The debug information.
Debug information will be shown on the Troubleshooting page. It’s intended to be attached to issue reports when reporting issues against the application.
AdwAboutWindow
provides a quick way to save debug information to a file. When saving, [property`AboutWindow`:py:data::debug-info-filename<Adw.AboutWindow.props.debug_info_filename>] would be used as the suggested filename.Debug information cannot contain markup or links.
New in version 1.2.
- Adw.AboutWindow.props.debug_info_filename¶
- Name:
debug-info-filename
- Type:
- Default Value:
''
- Flags:
The debug information filename.
It will be used as the suggested filename when saving debug information to a file.
See [property`AboutWindow`:py:data::debug-info<Adw.AboutWindow.props.debug_info>].
New in version 1.2.
- Adw.AboutWindow.props.designers¶
- Name:
designers
- Type:
[
str
]- Default Value:
[]
- Flags:
The list of designers of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- Adw.AboutWindow.props.developer_name¶
- Name:
developer-name
- Type:
- Default Value:
''
- Flags:
The developer name.
The developer name is displayed on the main page, under the application name.
If the application is developed by multiple people, the developer name can be set to values like “AppName team”, “AppName developers” or “The AppName project”, and the individual contributors can be listed on the Credits page, with [property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>] and related properties.
New in version 1.2.
- Adw.AboutWindow.props.developers¶
- Name:
developers
- Type:
[
str
]- Default Value:
[]
- Flags:
The list of developers of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- Adw.AboutWindow.props.documenters¶
- Name:
documenters
- Type:
[
str
]- Default Value:
[]
- Flags:
The list of documenters of the application.
It will be displayed on the Credits page.
Each name may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::translator-credits<Adw.AboutWindow.props.translator_credits>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- Adw.AboutWindow.props.issue_url¶
- Name:
issue-url
- Type:
- Default Value:
''
- Flags:
The URL for the application’s issue tracker.
The issue tracker link is displayed on the main page.
New in version 1.2.
- Adw.AboutWindow.props.license¶
- Name:
license
- Type:
- Default Value:
''
- Flags:
The license text.
This can be used to set a custom text for the license if it can’t be set via [property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>].
When set, [property`AboutWindow`:py:data::license-type<Adw.AboutWindow.props.license_type>] will be set to
GTK_LICENSE_CUSTOM
.The license text will be displayed on the Legal page, below the copyright information.
License text can contain Pango markup and links.
[method`AboutWindow`.add_legal_section] can be used to add license information for the application dependencies or other components.
New in version 1.2.
- Adw.AboutWindow.props.license_type¶
- Name:
license-type
- Type:
- Default Value:
- Flags:
The license type.
Allows to set the application’s license froma list of known licenses.
If the application’s license is not in the list, [property`AboutWindow`:py:data::license<Adw.AboutWindow.props.license>] can be used instead. The license type will be automatically set to
GTK_LICENSE_CUSTOM
in that case.If set to
GTK_LICENSE_UNKNOWN
, no information will be displayed.If the license type is different from
GTK_LICENSE_CUSTOM
. [property`AboutWindow`:py:data::license<Adw.AboutWindow.props.license>] will be cleared out.The license description will be displayed on the Legal page, below the copyright information.
[method`AboutWindow`.add_legal_section] can be used to add license information for the application dependencies or other components.
New in version 1.2.
- Adw.AboutWindow.props.release_notes¶
- Name:
release-notes
- Type:
- Default Value:
''
- Flags:
The release notes of the application.
Release notes are displayed on the the What’s New page.
Release notes are formatted the same way as AppStream descriptions.
The supported formatting options are:
Paragraph (
<p>
)Ordered list (
<ol>
), with list items (<li>
)Unordered list (
<ul>
), with list items (<li>
)
Within paragraphs and list items, emphasis (
<em>
) and inline code (<code>
) text styles are supported. The emphasis is rendered in italic, while inline code is shown in a monospaced font.Any text outside paragraphs or list items is ignored.
Nested lists are not supported.
AdwAboutWindow
displays the version above the release notes. If set, the [property`AboutWindow`:py:data::release-notes-version<Adw.AboutWindow.props.release_notes_version>] of the property will be used as the version; otherwise, [property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>] is used.New in version 1.2.
- Adw.AboutWindow.props.release_notes_version¶
- Name:
release-notes-version
- Type:
- Default Value:
''
- Flags:
The version described by the application’s release notes.
The release notes version is displayed on the What’s New page, above the release notes.
If not set, [property`AboutWindow`:py:data::version<Adw.AboutWindow.props.version>] will be used instead.
For example, an application with the current version 2.0.2 might want to keep the release notes from 2.0.0, and set the release notes version accordingly.
See [property`AboutWindow`:py:data::release-notes<Adw.AboutWindow.props.release_notes>].
New in version 1.2.
- Adw.AboutWindow.props.support_url¶
- Name:
support-url
- Type:
- Default Value:
''
- Flags:
The URL of the application’s support page.
The support page link is displayed on the main page.
New in version 1.2.
- Adw.AboutWindow.props.translator_credits¶
- Name:
translator-credits
- Type:
- Default Value:
''
- Flags:
The translator credits string.
It will be displayed on the Credits page.
This string should be
"translator-credits"
or"translator_credits"
and should be marked as translatable.The string may contain email addresses and URLs, see the introduction for more details.
See also:
[property`AboutWindow`:py:data::developers<Adw.AboutWindow.props.developers>]
[property`AboutWindow`:py:data::designers<Adw.AboutWindow.props.designers>]
[property`AboutWindow`:py:data::artists<Adw.AboutWindow.props.artists>]
[property`AboutWindow`:py:data::documenters<Adw.AboutWindow.props.documenters>]
[method`AboutWindow`.add_credit_section]
[method`AboutWindow`.add_acknowledgement_section]
New in version 1.2.
- Adw.AboutWindow.props.version¶
- Name:
version
- Type:
- Default Value:
''
- Flags:
The version of the application.
The version is displayed on the main page.
If [property`AboutWindow`:py:data::release-notes-version<Adw.AboutWindow.props.release_notes_version>] is not set, the version will also be displayed above the release notes on the What’s New page.
New in version 1.2.
- Adw.AboutWindow.props.website¶
- Name:
website
- Type:
- Default Value:
''
- Flags:
The URL of the application’s website.
Website is displayed on the Details page, below comments, or on the main page if the Details page doesn’t have any other content.
Applications can add other links below, see [method`AboutWindow`.add_link].
New in version 1.2.