struct Gtk::FileChooserWidget::QuickBookmarkSignal
- Gtk::FileChooserWidget::QuickBookmarkSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when the user asks for it.
This is a keybinding signal.
This is used to make the file chooser switch to the bookmark specified in the @bookmark_index parameter. For example, if you have three bookmarks, you can pass 0, 1, 2 to this signal to switch to each of them, respectively.
The default binding for this signal is Alt-1, Alt-2, etc. until Alt-0. Note that in the default binding, that Alt-1 is actually defined to switch to the bookmark at index 0, and so on successively.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/file_chooser_widget.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Int32, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::FileChooserWidget, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(bookmark_index : Int32) : Nil
-
#name : String
The signal name
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 : String? = nil)
new
Instance Method Detail
def connect(handler : Proc(Gtk::FileChooserWidget, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#