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) => setting
(setf (gtk:places-sidebar-show-connect-to-server object) setting)

Arguments

object -- a gtk:places-sidebar widget
setting -- 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 gtk:places-sidebar-show-connect-to-server function 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

#2023-3-6