AboutDialog.licenseType

gtk.types.License licenseType() @property

Get licenseType property.

Returns

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@AboutDialog:license can be used instead. The license type will be automatically set to [gtk.types.License.Custom] in that case.

If set to [gtk.types.License.Unknown], no information will be displayed.

If the license type is different from [gtk.types.License.Custom]. property@AboutDialog: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.

void licenseType(gtk.types.License propval) @property

Set licenseType property.

Parameters

propvalThe 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@AboutDialog:license can be used instead. The license type will be automatically set to [gtk.types.License.Custom] in that case. If set to [gtk.types.License.Unknown], no information will be displayed. If the license type is different from [gtk.types.License.Custom]. property@AboutDialog: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.