PlacesSidebar.connectShowConnectToServer

Connect to ShowConnectToServer signal.

The places sidebar emits this signal when it needs the calling application to present an way to connect directly to a network server. For example, the application may bring up a dialog box asking for a URL like "sftp://ftp.example.com". It is up to the application to create the corresponding mount by using, for example, gio.file.File.mountEnclosingVolume.

More...
class PlacesSidebar
gulong
connectShowConnectToServer
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.places_sidebar.PlacesSidebar placesSidebar)

placesSidebar the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID

Detailed Description

Deprecated: use the #GtkPlacesSidebar::show-other-locations signal to connect to network servers.