From: Andy S. <And...@co...> - 2010-10-22 22:13:02
|
diffing dir... Fri Oct 22 17:22:00 EDT 2010 Andy Stewart <laz...@gm...> * Add missing functions in GTK+2.14 : fontSelectionDialogGetCancelButton, fontSelectionDialogGetOkButton Ignore-this: 3392f24e718f6412d07c155497beb1a8 { hunk ./gtk/Graphics/UI/Gtk/Selectors/FontSelectionDialog.chs 68 +#if GTK_CHECK_VERSION(2,14,0) + fontSelectionDialogGetCancelButton, + fontSelectionDialogGetOkButton, +#endif hunk ./gtk/Graphics/UI/Gtk/Selectors/FontSelectionDialog.chs 147 +#if GTK_CHECK_VERSION(2,14,0) +-- | Gets the 'Cancel' button. +-- +-- * Available since Gtk+ version 2.14 +-- +fontSelectionDialogGetCancelButton :: FontSelectionDialogClass self => self + -> IO Widget -- ^ returns the 'Widget' used in the dialog for the 'Cancel' button. [_$_] +fontSelectionDialogGetCancelButton self = [_$_] + makeNewObject mkWidget $ + {#call gtk_font_selection_dialog_get_cancel_button #} + (toFontSelectionDialog self) + +-- | Gets the 'OK' button. +-- +-- * Available since Gtk+ version 2.14 +-- +fontSelectionDialogGetOkButton :: FontSelectionDialogClass self => self + -> IO Widget -- ^ returns the 'Widget' used in the dialog for the 'OK' button. [_$_] +fontSelectionDialogGetOkButton self = [_$_] + makeNewObject mkWidget $ + {#call gtk_font_selection_dialog_get_ok_button #} + (toFontSelectionDialog self) + +#endif + } |