PlacesSidebar.connectShowOtherLocations
gulong connectShowOtherLocations(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 ShowOtherLocations signal.
The places sidebar emits this signal when it needs the calling application to present a way to show other locations e.g. drives and network access points. For example, the application may bring up a page showing persistent volumes and discovered network addresses.
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-with-flags
which includes the open flags in order to allow the user to specify to open in a new tab or window, in a similar way than #GtkPlacesSidebar::open-location