struct Gtk::FileChooserWidget::LocationPopupSignal

Overview

Emitted when the user asks for it.

This is a keybinding signal.

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.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/file_chooser_widget.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(String, Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(String, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::FileChooserWidget, String, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(path : String) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]