TabPage.icon

Set icon property.

  1. gio.icon.Icon icon [@property getter]
  2. gio.icon.Icon icon [@property setter]
    class TabPage
    @property
    void
    icon

Parameters

propval gio.icon.Icon

The icon of the page.

class@TabBar and class@TabOverview display the icon next to the title, unless property@TabPage:loading is set to TRUE.

adw.tab_bar.TabBar also won't show the icon if the page is pinned and [propertyTabPage:indicator-icon] is set.