From: Andy S. <And...@co...> - 2010-10-22 22:12:52
|
diffing dir... Fri Oct 22 16:57:42 EDT 2010 Andy Stewart <laz...@gm...> * New GTK+2.22 function : buttonGetEventWindow Ignore-this: c6daf8cfcbae254f1d92f94a4c40b641 { hunk ./gtk/Graphics/UI/Gtk/Buttons/Button.chs 96 +#if GTK_CHECK_VERSION(2,22,0) + buttonGetEventWindow, +#endif hunk ./gtk/Graphics/UI/Gtk/Buttons/Button.chs 499 +#if GTK_CHECK_VERSION(2,22,0) +-- | Returns the button's event window if it is realized, 'Nothing' otherwise. [_$_] +-- +-- * Available since Gtk+ version 2.22 +-- +buttonGetEventWindow :: ButtonClass self => self [_$_] + -> IO (Maybe DrawWindow) -- ^ returns button's event window or 'Nothing' +buttonGetEventWindow self = + maybeNull (makeNewGObject mkDrawWindow) $ + {#call gtk_button_get_event_window #} + (toButton self) +#endif + } |