Adw.TabPage.set_icon

### Method

# Adw TabPageset_icon

since: 1.0

#### Declaration [src]

    void
    adw_tab_page_set_icon (
      AdwTabPage* self,
      GIcon* icon
    )

#### Description [src]

Sets the icon of `self`.

`AdwTabBar` displays the icon next to the title.

It will not show the icon if `AdwTabPage:loading` is set to `TRUE`, or if the page is pinned and [propertyTabPage:indicator-icon] is set.

Available since: 1.0

Sets property | `Adw.TabPage:icon`

#### Parameters

`icon`

  Type: `GIcon`

  The icon of `self`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.