From: Andy S. <And...@co...> - 2010-10-22 22:13:10
|
diffing dir... Fri Oct 22 17:41:55 EDT 2010 Andy Stewart <laz...@gm...> * New GTK+2.22 function : statusbarRemoveAll Ignore-this: 8a20c8a600c889c9e75d4fe04ce59280 { hunk ./gtk/Graphics/UI/Gtk/Display/Statusbar.chs 91 +#if GTK_CHECK_VERSION(2,22,0) + statusbarRemoveAll, +#endif hunk ./gtk/Graphics/UI/Gtk/Display/Statusbar.chs 223 +#if GTK_CHECK_VERSION(2,22,0) +-- | Forces the removal of all messages from a statusbar's stack with the exact @contextId@. +-- +-- * Available since Gtk+ version 2.22 +-- +statusbarRemoveAll :: StatusbarClass self => self [_$_] + -> Int -- ^ @contextId@ a context identifier [_$_] + -> IO () +statusbarRemoveAll self contextId = [_$_] + {#call gtk_statusbar_remove_all #} + (toStatusbar self) + (fromIntegral contextId) +#endif + } |