TabPageGidBuilderImpl.icon

Set icon property.

class TabPageGidBuilderImpl(T)
T
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.

Return Value

Type: T

Builder instance for fluent chaining