struct Gtk::DragSource::DragBeginSignal
- Gtk::DragSource::DragBeginSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted on the drag source when a drag is started.
It can be used to e.g. set a custom drag icon with
Gtk::DragSource#icon=
.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/drag_source.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gdk::Drag, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gdk::Drag, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::DragSource, Gdk::Drag, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(drag : Gdk::Drag) : 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 : Nil | String = nil)
new
Instance Method Detail
def connect(handler : Proc(Gtk::DragSource, Gdk::Drag, Nil), *, after : Bool = false) : GObject::SignalConnection
#