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
- fontButtonGetFontName :: (MonadIO m, FontButtonK a) => a -> m Text
- fontButtonGetShowSize :: (MonadIO m, FontButtonK a) => a -> m Bool
- fontButtonGetShowStyle :: (MonadIO m, FontButtonK a) => a -> m Bool
- fontButtonGetTitle :: (MonadIO m, FontButtonK a) => a -> m Text
- fontButtonGetUseFont :: (MonadIO m, FontButtonK a) => a -> m Bool
- fontButtonGetUseSize :: (MonadIO m, FontButtonK a) => a -> m Bool
- fontButtonNew :: MonadIO m => m FontButton
- fontButtonNewWithFont :: MonadIO m => Text -> m FontButton
- fontButtonSetFontName :: (MonadIO m, FontButtonK a) => a -> Text -> m Bool
- fontButtonSetShowSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- fontButtonSetShowStyle :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- fontButtonSetTitle :: (MonadIO m, FontButtonK a) => a -> Text -> m ()
- fontButtonSetUseFont :: (MonadIO m, FontButtonK a) => a -> Bool -> m ()
- 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 | |
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
fontButtonGetFontName :: (MonadIO m, FontButtonK a) => a -> m Text Source
fontButtonGetShowSize
fontButtonGetShowSize :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetShowStyle
fontButtonGetShowStyle :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetTitle
fontButtonGetTitle :: (MonadIO m, FontButtonK a) => a -> m Text Source
fontButtonGetUseFont
fontButtonGetUseFont :: (MonadIO m, FontButtonK a) => a -> m Bool Source
fontButtonGetUseSize
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
fontButtonSetFontName :: (MonadIO m, FontButtonK a) => a -> Text -> m Bool Source
fontButtonSetShowSize
fontButtonSetShowSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetShowStyle
fontButtonSetShowStyle :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetTitle
fontButtonSetTitle :: (MonadIO m, FontButtonK a) => a -> Text -> m () Source
fontButtonSetUseFont
fontButtonSetUseFont :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
fontButtonSetUseSize
fontButtonSetUseSize :: (MonadIO m, FontButtonK a) => a -> Bool -> m () Source
Properties
FontName
data FontButtonFontNamePropertyInfo Source
AttrInfo FontButtonFontNamePropertyInfo | |
type AttrLabel FontButtonFontNamePropertyInfo = "FontButton::font-name" | |
type AttrGetType FontButtonFontNamePropertyInfo = Text | |
type AttrBaseTypeConstraint FontButtonFontNamePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonFontNamePropertyInfo = * ~ Text | |
type AttrAllowedOps FontButtonFontNamePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
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 = "FontButton::show-size" | |
type AttrGetType FontButtonShowSizePropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonShowSizePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonShowSizePropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonShowSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
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 = "FontButton::show-style" | |
type AttrGetType FontButtonShowStylePropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonShowStylePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonShowStylePropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonShowStylePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
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 = "FontButton::title" | |
type AttrGetType FontButtonTitlePropertyInfo = Text | |
type AttrBaseTypeConstraint FontButtonTitlePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonTitlePropertyInfo = * ~ Text | |
type AttrAllowedOps FontButtonTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
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 = "FontButton::use-font" | |
type AttrGetType FontButtonUseFontPropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonUseFontPropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonUseFontPropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonUseFontPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
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 = "FontButton::use-size" | |
type AttrGetType FontButtonUseSizePropertyInfo = Bool | |
type AttrBaseTypeConstraint FontButtonUseSizePropertyInfo = FontButtonK | |
type AttrSetTypeConstraint FontButtonUseSizePropertyInfo = * ~ Bool | |
type AttrAllowedOps FontButtonUseSizePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
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