struct Gtk::Widget::UnmapSignal

Overview

Emitted when @widget is going to be unmapped.

A widget is unmapped when either it or any of its parents up to the toplevel widget have been set as hidden.

As ::unmap indicates that a widget will not be shown any longer, it can be used to, for example, stop an animation on the widget.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/widget.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 : String? = nil) new

Instance Method Detail

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

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

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

def emit : Nil #

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

The signal name