TabPage.setIcon

Sets the icon of self.

classTabBar and classTabOverview display the icon next to the title, unless propertyTabPage: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.

class TabPage
void
setIcon
()

Parameters

icon gio.icon.Icon

the icon of self