AboutWindow
Creates a new AdwAboutWindow
.
Return
the newly created AdwAboutWindow
Since
1.2
Creates a new AdwAboutWindow
using AppStream metadata.
This automatically sets the following properties with the following AppStream values:
property@AboutWindow:application-icon is set from the
<id>
property@AboutWindow:application-name is set from the
<name>
property@AboutWindow:developer-name is set from the
<name>
within<developer>
property@AboutWindow:version is set from the version of the latest release
property@AboutWindow:website is set from the
<url type="homepage">
property@AboutWindow:support-url is set from the
<url type="help">
property@AboutWindow:issue-url is set from the
<url type="bugtracker">
property@AboutWindow: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:release-notes-version is set to match it, while property@AboutWindow:release-notes is set from the AppStream release description for that version.
Return
the newly created AdwAboutWindow
Since
1.4
Parameters
The resource to use
The version to retrieve release notes for