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)
- getFontChooserFont :: (MonadIO m, FontChooserK o) => o -> m Text
- setFontChooserFont :: (MonadIO m, FontChooserK o) => o -> Text -> m ()
- data FontChooserFontDescPropertyInfo
- constructFontChooserFontDesc :: FontDescription -> IO ([Char], GValue)
- getFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> m FontDescription
- setFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> FontDescription -> m ()
- data FontChooserPreviewTextPropertyInfo
- constructFontChooserPreviewText :: Text -> IO ([Char], GValue)
- getFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> m Text
- setFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> Text -> m ()
- data FontChooserShowPreviewEntryPropertyInfo
- constructFontChooserShowPreviewEntry :: Bool -> IO ([Char], GValue)
- 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 Source | |
((~) * info (ResolveFontChooserMethod t FontChooser), MethodInfo * info FontChooser p) => IsLabel t (FontChooser -> p) Source | |
((~) * info (ResolveFontChooserMethod t FontChooser), MethodInfo * info FontChooser p) => IsLabelProxy t (FontChooser -> p) Source | |
type ParentTypes FontChooser Source | |
type AttributeList FontChooser Source | |
type SignalList FontChooser Source |
class GObject o => FontChooserK o Source
(GObject o, IsDescendantOf FontChooser o) => FontChooserK o Source | |
toFontChooser :: FontChooserK o => o -> IO FontChooser Source
Methods
fontChooserGetFont
data FontChooserGetFontMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetFontMethodInfo a signature Source | |
fontChooserGetFont :: (MonadIO m, FontChooserK a) => a -> m Text Source
fontChooserGetFontDesc
data FontChooserGetFontDescMethodInfo Source
((~) (TYPE Lifted) signature (m FontDescription), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetFontDescMethodInfo a signature Source | |
fontChooserGetFontDesc :: (MonadIO m, FontChooserK a) => a -> m FontDescription Source
fontChooserGetFontFace
data FontChooserGetFontFaceMethodInfo Source
((~) (TYPE Lifted) signature (m FontFace), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetFontFaceMethodInfo a signature Source | |
fontChooserGetFontFace :: (MonadIO m, FontChooserK a) => a -> m FontFace Source
fontChooserGetFontFamily
data FontChooserGetFontFamilyMethodInfo Source
((~) (TYPE Lifted) signature (m FontFamily), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetFontFamilyMethodInfo a signature Source | |
fontChooserGetFontFamily :: (MonadIO m, FontChooserK a) => a -> m FontFamily Source
fontChooserGetFontMap
data FontChooserGetFontMapMethodInfo Source
((~) (TYPE Lifted) signature (m FontMap), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetFontMapMethodInfo a signature Source | |
fontChooserGetFontMap :: (MonadIO m, FontChooserK a) => a -> m FontMap Source
fontChooserGetFontSize
data FontChooserGetFontSizeMethodInfo Source
((~) (TYPE Lifted) signature (m Int32), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetFontSizeMethodInfo a signature Source | |
fontChooserGetFontSize :: (MonadIO m, FontChooserK a) => a -> m Int32 Source
fontChooserGetPreviewText
data FontChooserGetPreviewTextMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetPreviewTextMethodInfo a signature Source | |
fontChooserGetPreviewText :: (MonadIO m, FontChooserK a) => a -> m Text Source
fontChooserGetShowPreviewEntry
data FontChooserGetShowPreviewEntryMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserGetShowPreviewEntryMethodInfo a signature Source | |
fontChooserGetShowPreviewEntry :: (MonadIO m, FontChooserK a) => a -> m Bool Source
fontChooserSetFilterFunc
data FontChooserSetFilterFuncMethodInfo Source
((~) (TYPE Lifted) signature (Maybe FontFilterFunc -> m ()), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserSetFilterFuncMethodInfo a signature Source | |
fontChooserSetFilterFunc :: (MonadIO m, FontChooserK a) => a -> Maybe FontFilterFunc -> m () Source
fontChooserSetFont
data FontChooserSetFontMethodInfo Source
((~) (TYPE Lifted) signature (Text -> m ()), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserSetFontMethodInfo a signature Source | |
fontChooserSetFont :: (MonadIO m, FontChooserK a) => a -> Text -> m () Source
fontChooserSetFontDesc
data FontChooserSetFontDescMethodInfo Source
((~) (TYPE Lifted) signature (FontDescription -> m ()), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserSetFontDescMethodInfo a signature Source | |
fontChooserSetFontDesc :: (MonadIO m, FontChooserK a) => a -> FontDescription -> m () Source
fontChooserSetFontMap
data FontChooserSetFontMapMethodInfo Source
((~) (TYPE Lifted) signature (Maybe b -> m ()), MonadIO m, FontChooserK a, FontMapK b) => MethodInfo (TYPE Lifted) FontChooserSetFontMapMethodInfo a signature Source | |
fontChooserSetFontMap :: (MonadIO m, FontChooserK a, FontMapK b) => a -> Maybe b -> m () Source
fontChooserSetPreviewText
data FontChooserSetPreviewTextMethodInfo Source
((~) (TYPE Lifted) signature (Text -> m ()), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserSetPreviewTextMethodInfo a signature Source | |
fontChooserSetPreviewText :: (MonadIO m, FontChooserK a) => a -> Text -> m () Source
fontChooserSetShowPreviewEntry
data FontChooserSetShowPreviewEntryMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, FontChooserK a) => MethodInfo (TYPE Lifted) FontChooserSetShowPreviewEntryMethodInfo a signature Source | |
fontChooserSetShowPreviewEntry :: (MonadIO m, FontChooserK a) => a -> Bool -> m () Source
Properties
Font
data FontChooserFontPropertyInfo Source
AttrInfo FontChooserFontPropertyInfo Source | |
type AttrLabel FontChooserFontPropertyInfo = "font" Source | |
type AttrGetType FontChooserFontPropertyInfo = Text Source | |
type AttrBaseTypeConstraint FontChooserFontPropertyInfo = FontChooserK Source | |
type AttrSetTypeConstraint FontChooserFontPropertyInfo = TYPE Lifted ~ Text Source | |
type AttrAllowedOps FontChooserFontPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontChooserFont :: (MonadIO m, FontChooserK o) => o -> m Text Source
setFontChooserFont :: (MonadIO m, FontChooserK o) => o -> Text -> m () Source
FontDesc
data FontChooserFontDescPropertyInfo Source
AttrInfo FontChooserFontDescPropertyInfo Source | |
type AttrLabel FontChooserFontDescPropertyInfo = "font-desc" Source | |
type AttrGetType FontChooserFontDescPropertyInfo = FontDescription Source | |
type AttrBaseTypeConstraint FontChooserFontDescPropertyInfo = FontChooserK Source | |
type AttrSetTypeConstraint FontChooserFontDescPropertyInfo = TYPE Lifted ~ FontDescription Source | |
type AttrAllowedOps FontChooserFontDescPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
constructFontChooserFontDesc :: FontDescription -> IO ([Char], GValue) Source
getFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> m FontDescription Source
setFontChooserFontDesc :: (MonadIO m, FontChooserK o) => o -> FontDescription -> m () Source
PreviewText
data FontChooserPreviewTextPropertyInfo Source
getFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> m Text Source
setFontChooserPreviewText :: (MonadIO m, FontChooserK o) => o -> Text -> m () Source
ShowPreviewEntry
data FontChooserShowPreviewEntryPropertyInfo 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