struct Gtk::CellRendererToggle::ToggledSignal

Overview

The ::toggled signal is emitted when the cell is toggled.

It is the responsibility of the application to update the model with the correct value to store at @path. Often this is simply the opposite of the value currently stored at @path.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/cell_renderer_toggle.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, detail = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(String, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(String, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::CellRendererToggle, String, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(path : String) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name