PlacesSidebar.setLocation

void setLocation(gio.file.File location = null)

Sets the location that is being shown in the widgets surrounding the sidebar, for example, in a folder view in a file manager. In turn, the sidebar will highlight that location if it is being shown in the list of places, or it will unhighlight everything if the location is not among the places in the list.

Parameters

locationlocation to select, or null for no current path