AboutDialog.license

Set license property.

  1. string license [@property getter]
  2. string license [@property setter]
    class AboutDialog
    @property
    void
    license
    (
    string propval
    )

Parameters

propval string

The license of the program. This string is displayed in a text view in a secondary dialog, therefore it is fine to use a long multi-paragraph text. Note that the text is only wrapped in the text view if the "wrap-license" property is set to true; otherwise the text itself must contain the intended linebreaks. When setting this property to a non-null value, the #GtkAboutDialog:license-type property is set to gtk.types.License.Custom as a side effect.