Overlay.connectGetChildPosition
gulong connectGetChildPosition(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.widget.Widget)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.out_ && is(Parameters!T[1] == gdk.rectangle.Rectangle)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.overlay.Overlay)))
&& Parameters!T.length < 4)Connect to GetChildPosition signal.
Emitted to determine the position and size of any overlay child widgets.
A handler for this signal should fill allocation with the desired position and size for widget, relative to the 'main' child of overlay.
The default handler for this signal uses the widget's halign and valign properties to determine the position and gives the widget its natural size (except that an alignment of [gtk.types.Align.Fill] will cause the overlay to be full-width/height). If the main child is a [gtk.scrolled_window.ScrolledWindow], the overlays are placed relative to its contents.
Parameters
callback | signal callback delegate or function to connect bool callback(gtk.widget.Widget widget, out gdk.rectangle.Rectangle allocation, gtk.overlay.Overlay overlay) widget the child widget to position (optional) allocation return location for the allocation (optional) overlay the instance the signal is connected to (optional) Returns true if the allocation has been filled |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID