Property

AdwAboutWindow:license-type

deprecated: 1.6 since: 1.2

Declaration

property license-type: Gtk.License [ read, write ]

Description [src]

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, AdwAboutWindow: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. AdwAboutWindow:license will be cleared out.

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

adw_about_window_add_legal_section() can be used to add license information for the application dependencies or other components.

Type:GtkLicense

Available since: 1.2

Deprecated since: 1.6

Use AdwAboutDialog.

Default valueGTK_LICENSE_UNKNOWN
Getter methodadw_about_window_get_license_type()
Setter methodadw_about_window_set_license_type()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno