set_show_connect_to_server


Description:

[ Version ( deprecated = true , deprecated_since = "3.18" , since = "3.10" ) ]
public void set_show_connect_to_server (bool show_connect_to_server)

Warning: set_show_connect_to_server is deprecated since 3.18.

Sets whether the this should show an item for connecting to a network server; this is off by default.

Note:

It is recommended to group this functionality with the drives and network location under the new 'Other Location' item

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 on_show_connect_to_server signal.

Parameters:

this

a places sidebar

show_connect_to_server

whether to show an item for the Connect to Server command