Method

AdapTabPageset_icon

Declaration [src]

void
adap_tab_page_set_icon (
  AdapTabPage* self,
  GIcon* icon
)

Description [src]

Sets the icon of self.

AdapTabBar and AdapTabOverview display the icon next to the title, unless AdapTabPage:loading is set to TRUE.

AdapTabBar also won’t show the icon if the page is pinned and [propertyTabPage:indicator-icon] is set.

Sets propertyAdap.TabPage:icon

Parameters

icon

Type: GIcon

The icon of self.

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