struct Gio::Settings::ChangedSignal
- Gio::Settings::ChangedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The "changed" signal is emitted when a key has potentially changed. You should call one of the g_settings_get() calls to check the new value.
This signal supports detailed connections. You can connect to the detailed signal "changed::x" in order to only receive callbacks when key "x" changes.
Note that @settings only emits this signal if you have read @key at least once while a signal handler was already connected for @key.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/settings.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(String, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(String, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::Settings, String, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(key : String) : 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(Gio::Settings, String, Nil), *, after : Bool = false) : GObject::SignalConnection
#