Method

GtkPlacesSidebarset_location

since: 3.10

Declaration [src]

void
gtk_places_sidebar_set_location (
  GtkPlacesSidebar* sidebar,
  GFile* location
)

Description [src]

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.

Available since: 3.10

Parameters

location

Type: GFile

Location to select, or NULL for no current path.

The argument can be NULL.
The data is owned by the caller of the method.