struct Gtk::LinkButton::ActivateLinkSignal
- Gtk::LinkButton::ActivateLinkSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted each time the Gtk::LinkButton
is clicked.
The default handler will call Gtk::show_uri
with the URI
stored inside the Gtk::LinkButton#uri
property.
To override the default behavior, you can connect to the
::activate-link signal and stop the propagation of the signal
by returning true
from your handler.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/link_button.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Bool)) : GObject::SignalConnection
- #connect(handler : Proc(Bool), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::LinkButton, Bool), *, after : Bool = false) : GObject::SignalConnection
- #emit : 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::LinkButton, Bool), *, after : Bool = false) : GObject::SignalConnection
#