Adw.AboutWindow.set_license

### Method

# Adw AboutWindowset_license

deprecated: 1.6 since: 1.2

#### Declaration [src]

    void
    adw_about_window_set_license (
      AdwAboutWindow* self,
      const char* license
    )

#### Description [src]

Sets the license for `self`.

This can be used to set a custom text for the license if it can’t be set via `AdwAboutWindow:license-type`.

When set, `AdwAboutWindow:license-type` will be set to `GTK_LICENSE_CUSTOM`.

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

License text can contain Pango markup and links.

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

Available since: 1.2

Deprecated since: 1.6

Use `AdwAboutDialog`.

Sets property | `Adw.AboutWindow:license`

#### Parameters

`license`

  Type: `const char*`

  The license.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.