Widget.connectMap
gulong connectMap(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.widget.Widget)))
&& Parameters!T.length < 2)Connect to Map signal.
The ::map signal is emitted when widget is going to be mapped, that is when the widget is visible (which is controlled with [gtk.widget.Widget.setVisible]) and all its parents up to the toplevel widget are also visible. Once the map has occurred, #GtkWidget::map-event will be emitted.
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 #GtkWidget::unmap.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.widget.Widget widget) widget the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID