@accepts(gboolean) @returns(none) def set_hidden_when_empty(hidden)
Enables or disables automatic hiding of the source when there are no entries in it.
hidden :
if TRUE, automatically hide the source