ScrolledWindow.connectScrollChild
gulong connectScrollChild(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.types.ScrollType)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == bool)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.scrolled_window.ScrolledWindow)))
&& Parameters!T.length < 4)Connect to ScrollChild signal.
Emitted when a keybinding that scrolls is pressed.
This is a keybinding signal.
The horizontal or vertical adjustment is updated which triggers a signal that the scrolled window’s child may listen to and scroll itself.
Parameters
callback | signal callback delegate or function to connect bool callback(gtk.types.ScrollType scroll, bool horizontal, gtk.scrolled_window.ScrolledWindow scrolledWindow) scroll a [gtk.types.ScrollType] describing how much to scroll (optional) horizontal whether the keybinding scrolls the child horizontally or not (optional) scrolledWindow the instance the signal is connected to (optional) Returns |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID