struct Gtk::Widget::MapSignal


Emitted when @widget is going to be mapped.

A widget is mapped when the widget is visible (which is controlled with Gtk::Widget#visible) and all its parents up to the toplevel widget are also visible.

The ::map signal can be used to determine whether a widget will be drawn, for instance it can resume an animation that was stopped during the emission of Gtk::Widget::#unmap.

Defined in:



Instance Method Summary

Constructor Detail

def, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Nil)) #

def connect(handler : Proc(Nil)) #

def connect(handler : Proc(Gtk::Widget, Nil)) #

def connect_after(&block : Proc(Nil)) #

def connect_after(handler : Proc(Nil)) #

def connect_after(handler : Proc(Gtk::Widget, Nil)) #

def emit : Nil #

def name #