PlacesSidebar.setShowDesktop
void setShowDesktop(bool showDesktop)Sets whether the sidebar should show an item for the Desktop folder. The default value for this option is determined by the desktop environment and the user’s configuration, but this function can be used to override it on a per-application basis.
Parameters
showDesktop | whether to show an item for the Desktop folder |