From: Peter g. <pg...@co...> - 2009-01-01 18:29:08
|
Thu Jan 1 13:25:17 EST 2009 Peter Gavin <pg...@gm...> * gtk: G.U.G.Abstract.Range: add onRangeChangeValue/afterRangeChangeValue hunk ./gtk/Graphics/UI/Gtk/Abstract/Range.chs.pp 75 +#if GTK_CHECK_VERSION(2,6,0) + onRangeChangeValue, + afterRangeChangeValue, +#endif hunk ./gtk/Graphics/UI/Gtk/Abstract/Range.chs.pp 256 +#if GTK_CHECK_VERSION(2,6,0) +-- | Emitted when a scroll action is performed on a range. It allows +-- an application to determine the type of scroll event that +-- occurred and the resultant new value. The application can handle +-- the event itself and return 'True' to prevent further +-- processing. Or, by returning 'False', it can pass the event to +-- other handlers until the default GTK+ handler is reached. +-- [_$_] +-- * Since Gtk 2.6 +-- [_$_] +onRangeChangeValue, afterRangeChangeValue :: RangeClass self => self + -> (ScrollType -> Double -> IO Bool) + -> IO (ConnectId self) +onRangeChangeValue = connect_ENUM_DOUBLE__BOOL "change_value" False +afterRangeChangeValue = connect_ENUM_DOUBLE__BOOL "change_value" True +#endif + |