FileChooserWidget.connectLocationPopup
gulong connectLocationPopup(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] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.file_chooser_widget.FileChooserWidget)))
&& Parameters!T.length < 3)Connect to LocationPopup signal.
The ::location-popup signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user asks for it.
This is used to make the file chooser show a "Location" prompt which the user can use to manually type the name of the file he wishes to select.
The default bindings for this signal are Control + L with a path string of "" (the empty string). It is also bound to `/` with a path string of "`/`" (a slash): this lets you type `/` and immediately type a path name. On Unix systems, this is bound to `~` (tilde) with a path string of "~" itself for access to home directories.
Parameters
callback | signal callback delegate or function to connect void callback(string path, gtk.file_chooser_widget.FileChooserWidget fileChooserWidget) path a string that gets put in the text entry for the file name (optional) fileChooserWidget 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