Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- fontChooserGetFont
- fontChooserGetFontDesc
- fontChooserGetFontFace
- fontChooserGetFontFamily
- fontChooserGetFontMap
- fontChooserGetFontSize
- fontChooserGetPreviewText
- fontChooserGetShowPreviewEntry
- fontChooserSetFilterFunc
- fontChooserSetFont
- fontChooserSetFontDesc
- fontChooserSetFontMap
- fontChooserSetPreviewText
- fontChooserSetShowPreviewEntry
- Properties
- Signals
- newtype FontChooser = FontChooser (ForeignPtr FontChooser)
- noFontChooser :: Maybe FontChooser
- class GObject o => FontChooserK o
- toFontChooser :: FontChooserK o => o -> IO FontChooser
- data FontChooserGetFontMethodInfo
- fontChooserGetFont :: (MonadIO m, FontChooserK a) => a -> m Text
- data FontChooserGetFontDescMethodInfo
- fontChooserGetFontDesc :: (MonadIO m, FontChooserK a) => a -> m FontDescription
- data FontChooserGetFontFaceMethodInfo
- fontChooserGetFontFace :: (MonadIO m, FontChooserK a) => a -> m FontFace
- data FontChooserGetFontFamilyMethodInfo
- fontChooserGetFontFamily :: (MonadIO m, FontChooserK a) => a -> m FontFamily
- data FontChooserGetFontMapMethodInfo
- fontChooserGetFontMap :: (MonadIO m, FontChooserK a) => a -> m FontMap
- data FontChooserGetFontSizeMethodInfo
- fontChooserGetFontSize :: (MonadIO m, FontChooserK a) => a -> m Int32
- data FontChooserGetPreviewTextMethodInfo
- fontChooserGetPreviewText :: (MonadIO m, FontChooserK a) => a -> m Text
- data FontChooserGetShowPreviewEntryMethodInfo
- fontChooserGetShowPreviewEntry :: (MonadIO m, FontChooserK a) => a -> m Bool
- data FontChooserSetFilterFuncMethodInfo
- fontChooserSetFilterFunc :: (MonadIO m, FontChooserK a) => a -> Maybe FontFilterFunc -> m ()
- data FontChooserSetFontMethodInfo
- fontChooserSetFont :: (MonadIO m, FontChooserK a) => a -> Text -> m ()
- data FontChooserSetFontDescMethodInfo
- fontChooserSetFontDesc :: (MonadIO m, FontChooserK a) => a -> FontDescription -> m ()
- data FontChooserSetFontMapMethodInfo
- fontChooserSetFontMap :: (MonadIO m, FontChooserK a, FontMapK b) => a -> Maybe b -> m ()
- data FontChooserSetPreviewTextMethodInfo
- fontChooserSetPreviewText :: (MonadIO m, FontChooserK a) => a -> Text -> m ()
- data FontChooserSetShowPreviewEntryMethodInfo
- fontChooserSetShowPreviewEntry :: (MonadIO m, FontChooserK a) => a -> Bool -> m ()
- data FontChooserFontPropertyInfo
- constructFontChooserFont :: Text -> IO ([Char], GValue)
- fontChooserFont :: AttrLabelProxy "font"
- getFontChooserFont :: (MonadIO m, FontChooserK o) => o -> m (Maybe Text)
- setFontChooserFont :: (MonadIO m, FontChooserK o) => o -> Text -> m ()
- data FontChooserFontDescPropertyInfo
- constructFontChooserFontDesc :: FontDescription -> IO ([Char], GValue)
- fontChooserFontDesc :: AttrLabelProxy "fontDesc"
- getFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> m (Maybe FontDescription)
- setFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> FontDescription -> m ()
- data FontChooserPreviewTextPropertyInfo
- constructFontChooserPreviewText :: Text -> IO ([Char], GValue)
- fontChooserPreviewText :: AttrLabelProxy "previewText"
- getFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> m (Maybe Text)
- setFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> Text -> m ()
- data FontChooserShowPreviewEntryPropertyInfo
- constructFontChooserShowPreviewEntry :: Bool -> IO ([Char], GValue)
- fontChooserShowPreviewEntry :: AttrLabelProxy "showPreviewEntry"
- getFontChooserShowPreviewEntry :: (MonadIO m, FontChooserK o) => o -> m Bool
- setFontChooserShowPreviewEntry :: (MonadIO m, FontChooserK o) => o -> Bool -> m ()
- type FontChooserFontActivatedCallback = Text -> IO ()
- type FontChooserFontActivatedCallbackC = Ptr () -> CString -> Ptr () -> IO ()
- data FontChooserFontActivatedSignalInfo
- afterFontChooserFontActivated :: (GObject a, MonadIO m) => a -> FontChooserFontActivatedCallback -> m SignalHandlerId
- fontChooserFontActivatedCallbackWrapper :: FontChooserFontActivatedCallback -> Ptr () -> CString -> Ptr () -> IO ()
- fontChooserFontActivatedClosure :: FontChooserFontActivatedCallback -> IO Closure
- mkFontChooserFontActivatedCallback :: FontChooserFontActivatedCallbackC -> IO (FunPtr FontChooserFontActivatedCallbackC)
- noFontChooserFontActivatedCallback :: Maybe FontChooserFontActivatedCallback
- onFontChooserFontActivated :: (GObject a, MonadIO m) => a -> FontChooserFontActivatedCallback -> m SignalHandlerId
Exported types
newtype FontChooser Source
GObject FontChooser | |
((~) * info (ResolveFontChooserMethod t FontChooser), MethodInfo * info FontChooser p) => IsLabelProxy t (FontChooser -> p) | |
type ParentTypes FontChooser | |
type AttributeList FontChooser | |
type SignalList FontChooser |
class GObject o => FontChooserK o Source
(GObject o, IsDescendantOf FontChooser o) => FontChooserK o |
toFontChooser :: FontChooserK o => o -> IO FontChooser Source
Methods
fontChooserGetFont
data FontChooserGetFontMethodInfo Source
((~) * signature (m Text), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetFontMethodInfo a signature |
fontChooserGetFont :: (MonadIO m, FontChooserK a) => a -> m Text Source
fontChooserGetFontDesc
data FontChooserGetFontDescMethodInfo Source
((~) * signature (m FontDescription), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetFontDescMethodInfo a signature |
fontChooserGetFontDesc :: (MonadIO m, FontChooserK a) => a -> m FontDescription Source
fontChooserGetFontFace
data FontChooserGetFontFaceMethodInfo Source
((~) * signature (m FontFace), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetFontFaceMethodInfo a signature |
fontChooserGetFontFace :: (MonadIO m, FontChooserK a) => a -> m FontFace Source
fontChooserGetFontFamily
data FontChooserGetFontFamilyMethodInfo Source
((~) * signature (m FontFamily), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetFontFamilyMethodInfo a signature |
fontChooserGetFontFamily :: (MonadIO m, FontChooserK a) => a -> m FontFamily Source
fontChooserGetFontMap
data FontChooserGetFontMapMethodInfo Source
((~) * signature (m FontMap), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetFontMapMethodInfo a signature |
fontChooserGetFontMap :: (MonadIO m, FontChooserK a) => a -> m FontMap Source
fontChooserGetFontSize
data FontChooserGetFontSizeMethodInfo Source
((~) * signature (m Int32), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetFontSizeMethodInfo a signature |
fontChooserGetFontSize :: (MonadIO m, FontChooserK a) => a -> m Int32 Source
fontChooserGetPreviewText
data FontChooserGetPreviewTextMethodInfo Source
((~) * signature (m Text), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetPreviewTextMethodInfo a signature |
fontChooserGetPreviewText :: (MonadIO m, FontChooserK a) => a -> m Text Source
fontChooserGetShowPreviewEntry
data FontChooserGetShowPreviewEntryMethodInfo Source
((~) * signature (m Bool), MonadIO m, FontChooserK a) => MethodInfo * FontChooserGetShowPreviewEntryMethodInfo a signature |
fontChooserGetShowPreviewEntry :: (MonadIO m, FontChooserK a) => a -> m Bool Source
fontChooserSetFilterFunc
data FontChooserSetFilterFuncMethodInfo Source
((~) * signature (Maybe FontFilterFunc -> m ()), MonadIO m, FontChooserK a) => MethodInfo * FontChooserSetFilterFuncMethodInfo a signature |
fontChooserSetFilterFunc :: (MonadIO m, FontChooserK a) => a -> Maybe FontFilterFunc -> m () Source
fontChooserSetFont
data FontChooserSetFontMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, FontChooserK a) => MethodInfo * FontChooserSetFontMethodInfo a signature |
fontChooserSetFont :: (MonadIO m, FontChooserK a) => a -> Text -> m () Source
fontChooserSetFontDesc
data FontChooserSetFontDescMethodInfo Source
((~) * signature (FontDescription -> m ()), MonadIO m, FontChooserK a) => MethodInfo * FontChooserSetFontDescMethodInfo a signature |
fontChooserSetFontDesc :: (MonadIO m, FontChooserK a) => a -> FontDescription -> m () Source
fontChooserSetFontMap
data FontChooserSetFontMapMethodInfo Source
((~) * signature (Maybe b -> m ()), MonadIO m, FontChooserK a, FontMapK b) => MethodInfo * FontChooserSetFontMapMethodInfo a signature |
fontChooserSetFontMap :: (MonadIO m, FontChooserK a, FontMapK b) => a -> Maybe b -> m () Source
fontChooserSetPreviewText
data FontChooserSetPreviewTextMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, FontChooserK a) => MethodInfo * FontChooserSetPreviewTextMethodInfo a signature |
fontChooserSetPreviewText :: (MonadIO m, FontChooserK a) => a -> Text -> m () Source
fontChooserSetShowPreviewEntry
data FontChooserSetShowPreviewEntryMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, FontChooserK a) => MethodInfo * FontChooserSetShowPreviewEntryMethodInfo a signature |
fontChooserSetShowPreviewEntry :: (MonadIO m, FontChooserK a) => a -> Bool -> m () Source
Properties
Font
data FontChooserFontPropertyInfo Source
AttrInfo FontChooserFontPropertyInfo | |
type AttrLabel FontChooserFontPropertyInfo = "font" | |
type AttrGetType FontChooserFontPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint FontChooserFontPropertyInfo = FontChooserK | |
type AttrSetTypeConstraint FontChooserFontPropertyInfo = * ~ Text | |
type AttrAllowedOps FontChooserFontPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontChooserFont :: AttrLabelProxy "font" Source
getFontChooserFont :: (MonadIO m, FontChooserK o) => o -> m (Maybe Text) Source
setFontChooserFont :: (MonadIO m, FontChooserK o) => o -> Text -> m () Source
FontDesc
data FontChooserFontDescPropertyInfo Source
constructFontChooserFontDesc :: FontDescription -> IO ([Char], GValue) Source
fontChooserFontDesc :: AttrLabelProxy "fontDesc" Source
getFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> m (Maybe FontDescription) Source
setFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> FontDescription -> m () Source
PreviewText
data FontChooserPreviewTextPropertyInfo Source
AttrInfo FontChooserPreviewTextPropertyInfo | |
type AttrLabel FontChooserPreviewTextPropertyInfo = "preview-text" | |
type AttrGetType FontChooserPreviewTextPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint FontChooserPreviewTextPropertyInfo = FontChooserK | |
type AttrSetTypeConstraint FontChooserPreviewTextPropertyInfo = * ~ Text | |
type AttrAllowedOps FontChooserPreviewTextPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontChooserPreviewText :: AttrLabelProxy "previewText" Source
getFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> m (Maybe Text) Source
setFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> Text -> m () Source
ShowPreviewEntry
data FontChooserShowPreviewEntryPropertyInfo Source
AttrInfo FontChooserShowPreviewEntryPropertyInfo | |
type AttrLabel FontChooserShowPreviewEntryPropertyInfo = "show-preview-entry" | |
type AttrGetType FontChooserShowPreviewEntryPropertyInfo = Bool | |
type AttrBaseTypeConstraint FontChooserShowPreviewEntryPropertyInfo = FontChooserK | |
type AttrSetTypeConstraint FontChooserShowPreviewEntryPropertyInfo = * ~ Bool | |
type AttrAllowedOps FontChooserShowPreviewEntryPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontChooserShowPreviewEntry :: AttrLabelProxy "showPreviewEntry" Source
getFontChooserShowPreviewEntry :: (MonadIO m, FontChooserK o) => o -> m Bool Source
setFontChooserShowPreviewEntry :: (MonadIO m, FontChooserK o) => o -> Bool -> m () Source
Signals
FontActivated
type FontChooserFontActivatedCallback = Text -> IO () Source
afterFontChooserFontActivated :: (GObject a, MonadIO m) => a -> FontChooserFontActivatedCallback -> m SignalHandlerId Source
fontChooserFontActivatedCallbackWrapper :: FontChooserFontActivatedCallback -> Ptr () -> CString -> Ptr () -> IO () Source
mkFontChooserFontActivatedCallback :: FontChooserFontActivatedCallbackC -> IO (FunPtr FontChooserFontActivatedCallbackC) Source
onFontChooserFontActivated :: (GObject a, MonadIO m) => a -> FontChooserFontActivatedCallback -> m SignalHandlerId Source