PlacesSidebar.connectShowConnectToServer
gulong connectShowConnectToServer(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.places_sidebar.PlacesSidebar)))
&& Parameters!T.length < 2)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].
Parameters
callback | signal callback delegate or function to connect void callback(gtk.places_sidebar.PlacesSidebar placesSidebar) placesSidebar the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID
Deprecated
use the #GtkPlacesSidebar::show-other-locations signal
to connect to network servers.