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 |
- newtype FontButton = FontButton (ForeignPtr FontButton)
- class GObject o => FontButtonK o
- toFontButton :: FontButtonK o => o -> IO FontButton
- noFontButton :: Maybe FontButton
- data FontButtonGetFontNameMethodInfo
- fontButtonGetFontName :: (MonadIO m, FontButtonK a) => a -> m Text
- data FontButtonGetShowSizeMethodInfo
- fontButtonGetShowSize :: (MonadIO m, FontButtonK a) => a -> m Bool
- data FontButtonGetShowStyleMethodInfo
- fontButtonGetShowStyle :: (MonadIO m, FontButtonK a) => a -> m Bool
- data FontButtonGetTitleMethodInfo
- fontButtonGetTitle :: (MonadIO m, FontButtonK a) => a -> m Text
- data FontButtonGetUseFontMethodInfo
- fontButtonGetUseFont :: (MonadIO m, FontButtonK a) => a -> m Bool
- data FontButtonGetUseSizeMethodInfo
- fontButtonGetUseSize :: (MonadIO m, FontButtonK a) => a -> m Bool
- fontButtonNew :: MonadIO m => m FontButton
- fontButtonNewWithFont :: MonadIO m => Text -> m FontButton
- data FontButtonSetFontNameMethodInfo
- fontButtonSetFontName :: (MonadIO m, FontButtonK a) => a -> Text -> m Bool
- data FontButtonSetShowSizeMethodInfo
- fontButtonSetShowSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- data FontButtonSetShowStyleMethodInfo
- fontButtonSetShowStyle :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- data FontButtonSetTitleMethodInfo
- fontButtonSetTitle :: (MonadIO m, FontButtonK a) => a -> Text -> m ()
- data FontButtonSetUseFontMethodInfo
- fontButtonSetUseFont :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- data FontButtonSetUseSizeMethodInfo
- fontButtonSetUseSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- data FontButtonFontNamePropertyInfo
- constructFontButtonFontName :: Text -> IO ([Char], GValue)
- getFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> m Text
- setFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> Text -> m ()
- data FontButtonShowSizePropertyInfo
- constructFontButtonShowSize :: Bool -> IO ([Char], GValue)
- getFontButtonShowSize :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonShowSize :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- data FontButtonShowStylePropertyInfo
- constructFontButtonShowStyle :: Bool -> IO ([Char], GValue)
- getFontButtonShowStyle :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonShowStyle :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- data FontButtonTitlePropertyInfo
- constructFontButtonTitle :: Text -> IO ([Char], GValue)
- getFontButtonTitle :: (MonadIO m, FontButtonK o) => o -> m Text
- setFontButtonTitle :: (MonadIO m, FontButtonK o) => o -> Text -> m ()
- data FontButtonUseFontPropertyInfo
- constructFontButtonUseFont :: Bool -> IO ([Char], GValue)
- getFontButtonUseFont :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonUseFont :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- data FontButtonUseSizePropertyInfo
- constructFontButtonUseSize :: Bool -> IO ([Char], GValue)
- getFontButtonUseSize :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonUseSize :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- type FontButtonFontSetCallback = IO ()
- type FontButtonFontSetCallbackC = Ptr () -> Ptr () -> IO ()
- data FontButtonFontSetSignalInfo
- afterFontButtonFontSet :: (GObject a, MonadIO m) => a -> FontButtonFontSetCallback -> m SignalHandlerId
- fontButtonFontSetCallbackWrapper :: FontButtonFontSetCallback -> Ptr () -> Ptr () -> IO ()
- fontButtonFontSetClosure :: FontButtonFontSetCallback -> IO Closure
- mkFontButtonFontSetCallback :: FontButtonFontSetCallbackC -> IO (FunPtr FontButtonFontSetCallbackC)
- noFontButtonFontSetCallback :: Maybe FontButtonFontSetCallback
- onFontButtonFontSet :: (GObject a, MonadIO m) => a -> FontButtonFontSetCallback -> m SignalHandlerId
Exported types
newtype FontButton Source
GObject FontButton Source | |
((~) * info (ResolveFontButtonMethod t FontButton), MethodInfo * info FontButton p) => IsLabel t (FontButton -> p) Source | |
((~) * info (ResolveFontButtonMethod t FontButton), MethodInfo * info FontButton p) => IsLabelProxy t (FontButton -> p) Source | |
type ParentTypes FontButton Source | |
type AttributeList FontButton Source | |
type SignalList FontButton Source |
class GObject o => FontButtonK o Source
(GObject o, IsDescendantOf FontButton o) => FontButtonK o Source | |
toFontButton :: FontButtonK o => o -> IO FontButton Source
Methods
fontButtonGetFontName
data FontButtonGetFontNameMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonGetFontNameMethodInfo a signature Source | |
fontButtonGetFontName :: (MonadIO m, FontButtonK a) => a -> m Text Source
fontButtonGetShowSize
data FontButtonGetShowSizeMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonGetShowSizeMethodInfo a signature Source | |
fontButtonGetShowSize :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetShowStyle
data FontButtonGetShowStyleMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonGetShowStyleMethodInfo a signature Source | |
fontButtonGetShowStyle :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetTitle
data FontButtonGetTitleMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonGetTitleMethodInfo a signature Source | |
fontButtonGetTitle :: (MonadIO m, FontButtonK a) => a -> m Text Source
fontButtonGetUseFont
data FontButtonGetUseFontMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonGetUseFontMethodInfo a signature Source | |
fontButtonGetUseFont :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetUseSize
data FontButtonGetUseSizeMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonGetUseSizeMethodInfo a signature Source | |
fontButtonGetUseSize :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonNew
fontButtonNew :: MonadIO m => m FontButton Source
fontButtonNewWithFont
fontButtonNewWithFont :: MonadIO m => Text -> m FontButton Source
fontButtonSetFontName
data FontButtonSetFontNameMethodInfo Source
((~) (TYPE Lifted) signature (Text -> m Bool), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonSetFontNameMethodInfo a signature Source | |
fontButtonSetFontName :: (MonadIO m, FontButtonK a) => a -> Text -> m Bool Source
fontButtonSetShowSize
data FontButtonSetShowSizeMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonSetShowSizeMethodInfo a signature Source | |
fontButtonSetShowSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetShowStyle
data FontButtonSetShowStyleMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonSetShowStyleMethodInfo a signature Source | |
fontButtonSetShowStyle :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetTitle
data FontButtonSetTitleMethodInfo Source
((~) (TYPE Lifted) signature (Text -> m ()), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonSetTitleMethodInfo a signature Source | |
fontButtonSetTitle :: (MonadIO m, FontButtonK a) => a -> Text -> m () Source
fontButtonSetUseFont
data FontButtonSetUseFontMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonSetUseFontMethodInfo a signature Source | |
fontButtonSetUseFont :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetUseSize
data FontButtonSetUseSizeMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo (TYPE Lifted) FontButtonSetUseSizeMethodInfo a signature Source | |
fontButtonSetUseSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
Properties
FontName
data FontButtonFontNamePropertyInfo Source
AttrInfo FontButtonFontNamePropertyInfo Source | |
type AttrLabel FontButtonFontNamePropertyInfo = "font-name" Source | |
type AttrGetType FontButtonFontNamePropertyInfo = Text Source | |
type AttrBaseTypeConstraint FontButtonFontNamePropertyInfo = FontButtonK Source | |
type AttrSetTypeConstraint FontButtonFontNamePropertyInfo = TYPE Lifted ~ Text Source | |
type AttrAllowedOps FontButtonFontNamePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> m Text Source
setFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> Text -> m () Source
ShowSize
data FontButtonShowSizePropertyInfo Source
AttrInfo FontButtonShowSizePropertyInfo Source | |
type AttrLabel FontButtonShowSizePropertyInfo = "show-size" Source | |
type AttrGetType FontButtonShowSizePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint FontButtonShowSizePropertyInfo = FontButtonK Source | |
type AttrSetTypeConstraint FontButtonShowSizePropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps FontButtonShowSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontButtonShowSize :: (MonadIO m, FontButtonK o) => o -> m Bool Source
setFontButtonShowSize :: (MonadIO m, FontButtonK o) => o -> Bool -> m () Source
ShowStyle
data FontButtonShowStylePropertyInfo Source
AttrInfo FontButtonShowStylePropertyInfo Source | |
type AttrLabel FontButtonShowStylePropertyInfo = "show-style" Source | |
type AttrGetType FontButtonShowStylePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint FontButtonShowStylePropertyInfo = FontButtonK Source | |
type AttrSetTypeConstraint FontButtonShowStylePropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps FontButtonShowStylePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontButtonShowStyle :: (MonadIO m, FontButtonK o) => o -> m Bool Source
setFontButtonShowStyle :: (MonadIO m, FontButtonK o) => o -> Bool -> m () Source
Title
data FontButtonTitlePropertyInfo Source
AttrInfo FontButtonTitlePropertyInfo Source | |
type AttrLabel FontButtonTitlePropertyInfo = "title" Source | |
type AttrGetType FontButtonTitlePropertyInfo = Text Source | |
type AttrBaseTypeConstraint FontButtonTitlePropertyInfo = FontButtonK Source | |
type AttrSetTypeConstraint FontButtonTitlePropertyInfo = TYPE Lifted ~ Text Source | |
type AttrAllowedOps FontButtonTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontButtonTitle :: (MonadIO m, FontButtonK o) => o -> m Text Source
setFontButtonTitle :: (MonadIO m, FontButtonK o) => o -> Text -> m () Source
UseFont
data FontButtonUseFontPropertyInfo Source
AttrInfo FontButtonUseFontPropertyInfo Source | |
type AttrLabel FontButtonUseFontPropertyInfo = "use-font" Source | |
type AttrGetType FontButtonUseFontPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint FontButtonUseFontPropertyInfo = FontButtonK Source | |
type AttrSetTypeConstraint FontButtonUseFontPropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps FontButtonUseFontPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontButtonUseFont :: (MonadIO m, FontButtonK o) => o -> m Bool Source
setFontButtonUseFont :: (MonadIO m, FontButtonK o) => o -> Bool -> m () Source
UseSize
data FontButtonUseSizePropertyInfo Source
AttrInfo FontButtonUseSizePropertyInfo Source | |
type AttrLabel FontButtonUseSizePropertyInfo = "use-size" Source | |
type AttrGetType FontButtonUseSizePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint FontButtonUseSizePropertyInfo = FontButtonK Source | |
type AttrSetTypeConstraint FontButtonUseSizePropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps FontButtonUseSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getFontButtonUseSize :: (MonadIO m, FontButtonK o) => o -> m Bool Source
setFontButtonUseSize :: (MonadIO m, FontButtonK o) => o -> Bool -> m () Source
Signals
FontSet
type FontButtonFontSetCallback = IO () Source
type FontButtonFontSetCallbackC = Ptr () -> Ptr () -> IO () Source
afterFontButtonFontSet :: (GObject a, MonadIO m) => a -> FontButtonFontSetCallback -> m SignalHandlerId Source
fontButtonFontSetCallbackWrapper :: FontButtonFontSetCallback -> Ptr () -> Ptr () -> IO () Source
mkFontButtonFontSetCallback :: FontButtonFontSetCallbackC -> IO (FunPtr FontButtonFontSetCallbackC) Source
onFontButtonFontSet :: (GObject a, MonadIO m) => a -> FontButtonFontSetCallback -> m SignalHandlerId Source