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