Gtk2HsContentsIndex
Graphics.UI.Gtk.Selectors.FontSelectionDialog
Description
Synopsis
fontSelectionDialogNew :: String -> IO FontSelectionDialog
fontSelectionDialogGetFontName :: FontSelectionDialogClass obj => obj -> IO (Maybe String)
fontSelectionDialogSetFontName :: FontSelectionDialogClass obj => obj -> String -> IO Bool
fontSelectionDialogGetPreviewText :: FontSelectionDialogClass obj => obj -> IO String
fontSelectionDialogSetPreviewText :: FontSelectionDialogClass obj => obj -> String -> IO ()
Documentation
fontSelectionDialogNew :: String -> IO FontSelectionDialog
Creates a new FontSelectionDialog.
fontSelectionDialogGetFontName :: FontSelectionDialogClass obj => obj -> IO (Maybe String)
Gets the currently-selected font name. Returns Nothing if no font is selected.
fontSelectionDialogSetFontName :: FontSelectionDialogClass obj => obj -> String -> IO Bool
Sets the currently-selected font. Returns False if the font was not found.
fontSelectionDialogGetPreviewText :: FontSelectionDialogClass obj => obj -> IO String
Gets the text displayed in the preview area.
fontSelectionDialogSetPreviewText :: FontSelectionDialogClass obj => obj -> String -> IO ()
Sets the text displayed in the preview area.
Produced by Haddock version 0.6