set_show_other_locations


Description:

[ Version ( since = "3.18" ) ]
public void set_show_other_locations (bool show_other_locations)

Sets whether the this should show an item for the application to show an Other Locations view; this is off by default.

When set to true, persistent devices such as hard drives are hidden, otherwise they are shown in the sidebar. An application may want to turn this on if it implements a way for the user to see and interact with drives and network servers directly.

If you enable this, you should connect to the show_other_locations_requested signal.

Parameters:

this

a places sidebar

show_other_locations

whether to show an item for the Other Locations view




2022 vala-language.org