Package: gtk
Function gtk:places-sidebar-add-shortcut
Lambda Listgtk:places-sidebar-add-shortcut (sidebar location) ArgumentsDetails
Applications may want to present some folders in the places sidebar if they
could be immediately useful to users. For example, a drawing program could add a /usr/share/clipart location
when the sidebar is being used in an "Insert Clipart" dialog box. This function adds the specified location to a special place for immutable shortcuts. The shortcuts are application specific. They are not shared across applications, and they are not persistent. If this function is called multiple times with different locations, then they are added to the sidebar’s list in the same order as the function is called. | See also |
#2023-3-6