TabPage.icon

gio.icon.Icon icon() @property

Get icon property.

Returns

The icon of the page.

adw.tab_bar.TabBar and adw.tab_overview.TabOverview display the icon next to the title, unless adw.tab_page.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.

void icon(gio.icon.Icon propval) @property

Set icon property.

Parameters

propvalThe icon of the page. adw.tab_bar.TabBar and adw.tab_overview.TabOverview display the icon next to the title, unless adw.tab_page.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.