set_default_icon


Description:

public void set_default_icon (Icon default_icon)

Sets default page icon for this.

If a page doesn't provide its own icon via [property@TabPage:icon], default icon may be used instead for contexts where having an icon is necessary.

[class@TabBar] will use default icon for pinned tabs in case the page is not loading, doesn't have an icon and an indicator. Default icon is never used for tabs that aren't pinned.

By default, `hdy-tab-icon-missing-symbolic` icon is used.

Parameters:

this

a tab view

default_icon

the default icon