From: Andy S. <And...@co...> - 2010-10-22 22:13:01
|
diffing dir... Fri Oct 22 17:18:02 EDT 2010 Andy Stewart <laz...@gm...> * New GTK+2.22 function : fontSelectionDialogGetFontSelection Ignore-this: ff8515e60b9d0122c8d0553dd1646d1e { hunk ./gtk/Graphics/UI/Gtk/Selectors/FontSelectionDialog.chs 68 +#if GTK_CHECK_VERSION(2,22,0) + fontSelectionDialogGetFontSelection, +#endif hunk ./gtk/Graphics/UI/Gtk/Selectors/FontSelectionDialog.chs 143 +#if GTK_CHECK_VERSION(2,22,0) +-- | Retrieves the 'FontSelection' widget embedded in the dialog. +-- +-- * Available since Gtk+ version 2.22 +-- +fontSelectionDialogGetFontSelection :: FontSelectionDialogClass self => self + -> IO FontSelection -- ^ returns the embedded 'FontSelection' [_$_] +fontSelectionDialogGetFontSelection self = [_$_] + makeNewObject mkFontSelection $ + liftM (castPtr :: Ptr Widget -> Ptr FontSelection) $ + {#call gtk_font_selection_dialog_get_font_selection #} + (toFontSelectionDialog self) +#endif + } |