Gtk2HsContentsIndex
Graphics.UI.Gtk.Selectors.FontSelection
Description
Synopsis
fontSelectionNew :: IO FontSelection
fontSelectionGetFontName :: FontSelectionClass obj => obj -> IO (Maybe String)
fontSelectionSetFontName :: FontSelectionClass obj => obj -> String -> IO Bool
fontSelectionGetPreviewText :: FontSelectionClass obj => obj -> IO String
fontSelectionSetPreviewText :: FontSelectionClass obj => obj -> String -> IO ()
Documentation
fontSelectionNew :: IO FontSelection
Creates a new FontSelection.
fontSelectionGetFontName :: FontSelectionClass obj => obj -> IO (Maybe String)
Gets the currently-selected font name. Returns Nothing if no font is selected.
fontSelectionSetFontName :: FontSelectionClass obj => obj -> String -> IO Bool
Sets the currently-selected font. Returns False if the font was not found.
fontSelectionGetPreviewText :: FontSelectionClass obj => obj -> IO String
Gets the text displayed in the preview area.
fontSelectionSetPreviewText :: FontSelectionClass obj => obj -> String -> IO ()
Sets the text displayed in the preview area.
Produced by Haddock version 0.6