AboutDialog.setLicenseType

Sets the license for self from a list of known licenses.

If the application's license is not in the list, propertyAboutDialog:license can be used instead. The license type will be automatically set to gtk.types.License.Custom in that case.

If license_type is gtk.types.License.Unknown, no information will be displayed.

If license_type is different from gtk.types.License.Custom. propertyAboutDialog:license will be cleared out.

The license description will be displayed on the Legal page, below the copyright information.

adw.about_dialog.AboutDialog.addLegalSection can be used to add license information for the application dependencies or other components.

class AboutDialog
void
setLicenseType

Parameters

licenseType gtk.types.License

the license type