struct Gio::Settings::WritableChangedSignal

Overview

The "writable-changed" signal is emitted when the writability of a key has potentially changed. You should call g_settings_is_writable() in order to determine the new status.

This signal supports detailed connections. You can connect to the detailed signal "writable-changed::x" in order to only receive callbacks when the writability of "x" changes.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/settings.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(Gio::Settings, String, Nil), *, after : Bool = false) : GObject::SignalConnection #

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

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

The signal name


[View source]