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
- clearFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> m ()
- constructFontButtonFontName :: Text -> IO ([Char], GValue)
- fontButtonFontName :: AttrLabelProxy "fontName"
- getFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> m Text
- setFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> Text -> m ()
- data FontButtonShowSizePropertyInfo
- constructFontButtonShowSize :: Bool -> IO ([Char], GValue)
- fontButtonShowSize :: AttrLabelProxy "showSize"
- getFontButtonShowSize :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonShowSize :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- data FontButtonShowStylePropertyInfo
- constructFontButtonShowStyle :: Bool -> IO ([Char], GValue)
- fontButtonShowStyle :: AttrLabelProxy "showStyle"
- getFontButtonShowStyle :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonShowStyle :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- data FontButtonTitlePropertyInfo
- constructFontButtonTitle :: Text -> IO ([Char], GValue)
- fontButtonTitle :: AttrLabelProxy "title"
- getFontButtonTitle :: (MonadIO m, FontButtonK o) => o -> m Text
- setFontButtonTitle :: (MonadIO m, FontButtonK o) => o -> Text -> m ()
- data FontButtonUseFontPropertyInfo
- constructFontButtonUseFont :: Bool -> IO ([Char], GValue)
- fontButtonUseFont :: AttrLabelProxy "useFont"
- getFontButtonUseFont :: (MonadIO m, FontButtonK o) => o -> m Bool
- setFontButtonUseFont :: (MonadIO m, FontButtonK o) => o -> Bool -> m ()
- data FontButtonUseSizePropertyInfo
- constructFontButtonUseSize :: Bool -> IO ([Char], GValue)
- fontButtonUseSize :: AttrLabelProxy "useSize"
- 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 | |
((~) * info (ResolveFontButtonMethod t FontButton), MethodInfo * info FontButton p) => IsLabelProxy t (FontButton -> p) | |
type ParentTypes FontButton | |
type AttributeList FontButton | |
type SignalList FontButton |
class GObject o => FontButtonK o Source
(GObject o, IsDescendantOf FontButton o) => FontButtonK o |
toFontButton :: FontButtonK o => o -> IO FontButton Source
Methods
fontButtonGetFontName
data FontButtonGetFontNameMethodInfo Source
((~) * signature (m Text), MonadIO m, FontButtonK a) => MethodInfo * FontButtonGetFontNameMethodInfo a signature |
fontButtonGetFontName :: (MonadIO m, FontButtonK a) => a -> m Text Source
fontButtonGetShowSize
data FontButtonGetShowSizeMethodInfo Source
((~) * signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo * FontButtonGetShowSizeMethodInfo a signature |
fontButtonGetShowSize :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetShowStyle
data FontButtonGetShowStyleMethodInfo Source
((~) * signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo * FontButtonGetShowStyleMethodInfo a signature |
fontButtonGetShowStyle :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetTitle
data FontButtonGetTitleMethodInfo Source
((~) * signature (m Text), MonadIO m, FontButtonK a) => MethodInfo * FontButtonGetTitleMethodInfo a signature |
fontButtonGetTitle :: (MonadIO m, FontButtonK a) => a -> m Text Source
fontButtonGetUseFont
data FontButtonGetUseFontMethodInfo Source
((~) * signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo * FontButtonGetUseFontMethodInfo a signature |
fontButtonGetUseFont :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetUseSize
data FontButtonGetUseSizeMethodInfo Source
((~) * signature (m Bool), MonadIO m, FontButtonK a) => MethodInfo * FontButtonGetUseSizeMethodInfo a signature |
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
((~) * signature (Text -> m Bool), MonadIO m, FontButtonK a) => MethodInfo * FontButtonSetFontNameMethodInfo a signature |
fontButtonSetFontName :: (MonadIO m, FontButtonK a) => a -> Text -> m Bool Source
fontButtonSetShowSize
data FontButtonSetShowSizeMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo * FontButtonSetShowSizeMethodInfo a signature |
fontButtonSetShowSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetShowStyle
data FontButtonSetShowStyleMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo * FontButtonSetShowStyleMethodInfo a signature |
fontButtonSetShowStyle :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetTitle
data FontButtonSetTitleMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, FontButtonK a) => MethodInfo * FontButtonSetTitleMethodInfo a signature |
fontButtonSetTitle :: (MonadIO m, FontButtonK a) => a -> Text -> m () Source
fontButtonSetUseFont
data FontButtonSetUseFontMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo * FontButtonSetUseFontMethodInfo a signature |
fontButtonSetUseFont :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetUseSize
data FontButtonSetUseSizeMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, FontButtonK a) => MethodInfo * FontButtonSetUseSizeMethodInfo a signature |
fontButtonSetUseSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
Properties
FontName
data FontButtonFontNamePropertyInfo Source
AttrInfo FontButtonFontNamePropertyInfo | |
type AttrLabel FontButtonFontNamePropertyInfo = "font-name" | |
type AttrGetType FontButtonFontNamePropertyInfo = Text | |
type AttrBaseTypeConstraint FontButtonFontNamePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonFontNamePropertyInfo = * ~ Text | |
type AttrAllowedOps FontButtonFontNamePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearFontButtonFontName :: (MonadIO m, FontButtonK o) => o -> m () Source
fontButtonFontName :: AttrLabelProxy "fontName" 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 | |
type AttrLabel FontButtonShowSizePropertyInfo = "show-size" | |
type AttrGetType FontButtonShowSizePropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonShowSizePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonShowSizePropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonShowSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontButtonShowSize :: AttrLabelProxy "showSize" 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 | |
type AttrLabel FontButtonShowStylePropertyInfo = "show-style" | |
type AttrGetType FontButtonShowStylePropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonShowStylePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonShowStylePropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonShowStylePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontButtonShowStyle :: AttrLabelProxy "showStyle" 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 | |
type AttrLabel FontButtonTitlePropertyInfo = "title" | |
type AttrGetType FontButtonTitlePropertyInfo = Text | |
type AttrBaseTypeConstraint FontButtonTitlePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonTitlePropertyInfo = * ~ Text | |
type AttrAllowedOps FontButtonTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontButtonTitle :: AttrLabelProxy "title" 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 | |
type AttrLabel FontButtonUseFontPropertyInfo = "use-font" | |
type AttrGetType FontButtonUseFontPropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonUseFontPropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonUseFontPropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonUseFontPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontButtonUseFont :: AttrLabelProxy "useFont" 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 | |
type AttrLabel FontButtonUseSizePropertyInfo = "use-size" | |
type AttrGetType FontButtonUseSizePropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonUseSizePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonUseSizePropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonUseSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
fontButtonUseSize :: AttrLabelProxy "useSize" 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