Package: gtk

Accessor gtk-places-sidebar-show-connect-to-server

Lambda List

gtk-places-sidebar-show-connect-to-server (object)

Syntax

(gtk-places-sidebar-show-connect-to-server object) => show-connect-to-server
(setf (gtk-places-sidebar-show-connect-to-server object) show-connect-to-server)

Arguments

object -- a gtk-places-sidebar widget
show-connect-to-server -- a boolean whether to show an item for the Connect to Server command

Details

Accessor of the show-connect-to-server slot of the gtk-places-sidebar class.

Sets whether the sidebar should show an item for connecting to a network server. This is off by default. An application may want to turn this on if it implements a way for the user to connect to network servers directly.

If you enable this, you should connect to the "show-connect-to-server" signal.

Warning

The function gtk-places-sidebar-show-connect-to-server has been deprecated since version 3.18 and should not be used in newly written code. It is recommended to group this functionality with the drives and network location under the new 'Other Location' item.
 

See also

2020-6-6