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@Sidebar:filter].

Parameters:

this

a sidebar

placeholder

the placeholder widget