Sets the license for this from a list of known licenses.
Use [class@AboutDialog].
If the application's license is not in the list, [property@AboutWindow:license] can be used instead. The license type will be automatically set to [enum@Gtk.License.custom] in that case.
If license_type is [enum@Gtk.License.unknown], no information will be displayed.
If license_type is different from [enum@Gtk.License.custom]. [property@AboutWindow:license] will be cleared out.
The license description will be displayed on the Legal page, below the copyright information.
[method@AboutWindow.add_legal_section] can be used to add license information for the application dependencies or other components.
| this |
an about window |
| license_type |
the license type |