set_placeholder


Description:

public void set_placeholder (Widget? placeholder)

Sets the placeholder widget for this.

This widget will be shown if this has no items, or all of its items have been filtered out by [ property@ViewSwitcherSidebar:filter].

See [method@Sidebar.set_placeholder].

Parameters:

this

a view switcher sidebar

placeholder

the placeholder widget