Package: gtk
Accessor gtk-places-sidebar-location
Lambda Listgtk-places-sidebar-location (object) SyntaxArgumentsDetails Accessor of the location slot of the gtk-places-sidebar class. The slot access function gtk-places-sidebar-open-flags gets the currently selected location in the sidebar. This can be nil when nothing is selected, for example, when gtk-places-sidebar-location has been called with a location that is not among the sidebar’s list of places to show. You can use this function to get the selection in the sidebar. Also, if you connect to the "populate-popup" signal, you can use this function to get the location that is being referred to during the callbacks for your menu items. The slot access function (setf gtk-places-sidebar-open-flags) 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. | See also |
2020-6-6