| 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 |
GI.Gtk.Objects.FontButton
Description
- newtype FontButton = FontButton (ForeignPtr FontButton)
- class GObject o => IsFontButton o
- toFontButton :: IsFontButton o => o -> IO FontButton
- noFontButton :: Maybe FontButton
- data FontButtonGetFontNameMethodInfo
- fontButtonGetFontName :: (MonadIO m, IsFontButton a) => a -> m Text
- data FontButtonGetShowSizeMethodInfo
- fontButtonGetShowSize :: (MonadIO m, IsFontButton a) => a -> m Bool
- data FontButtonGetShowStyleMethodInfo
- fontButtonGetShowStyle :: (MonadIO m, IsFontButton a) => a -> m Bool
- data FontButtonGetTitleMethodInfo
- fontButtonGetTitle :: (MonadIO m, IsFontButton a) => a -> m Text
- data FontButtonGetUseFontMethodInfo
- fontButtonGetUseFont :: (MonadIO m, IsFontButton a) => a -> m Bool
- data FontButtonGetUseSizeMethodInfo
- fontButtonGetUseSize :: (MonadIO m, IsFontButton a) => a -> m Bool
- fontButtonNew :: MonadIO m => m FontButton
- fontButtonNewWithFont :: MonadIO m => Text -> m FontButton
- data FontButtonSetFontNameMethodInfo
- fontButtonSetFontName :: (MonadIO m, IsFontButton a) => a -> Text -> m Bool
- data FontButtonSetShowSizeMethodInfo
- fontButtonSetShowSize :: (MonadIO m, IsFontButton a) => a -> Bool -> m ()
- data FontButtonSetShowStyleMethodInfo
- fontButtonSetShowStyle :: (MonadIO m, IsFontButton a) => a -> Bool -> m ()
- data FontButtonSetTitleMethodInfo
- fontButtonSetTitle :: (MonadIO m, IsFontButton a) => a -> Text -> m ()
- data FontButtonSetUseFontMethodInfo
- fontButtonSetUseFont :: (MonadIO m, IsFontButton a) => a -> Bool -> m ()
- data FontButtonSetUseSizeMethodInfo
- fontButtonSetUseSize :: (MonadIO m, IsFontButton a) => a -> Bool -> m ()
- data FontButtonFontNamePropertyInfo
- clearFontButtonFontName :: (MonadIO m, IsFontButton o) => o -> m ()
- constructFontButtonFontName :: IsFontButton o => Text -> IO (GValueConstruct o)
- fontButtonFontName :: AttrLabelProxy "fontName"
- getFontButtonFontName :: (MonadIO m, IsFontButton o) => o -> m Text
- setFontButtonFontName :: (MonadIO m, IsFontButton o) => o -> Text -> m ()
- data FontButtonShowSizePropertyInfo
- constructFontButtonShowSize :: IsFontButton o => Bool -> IO (GValueConstruct o)
- fontButtonShowSize :: AttrLabelProxy "showSize"
- getFontButtonShowSize :: (MonadIO m, IsFontButton o) => o -> m Bool
- setFontButtonShowSize :: (MonadIO m, IsFontButton o) => o -> Bool -> m ()
- data FontButtonShowStylePropertyInfo
- constructFontButtonShowStyle :: IsFontButton o => Bool -> IO (GValueConstruct o)
- fontButtonShowStyle :: AttrLabelProxy "showStyle"
- getFontButtonShowStyle :: (MonadIO m, IsFontButton o) => o -> m Bool
- setFontButtonShowStyle :: (MonadIO m, IsFontButton o) => o -> Bool -> m ()
- data FontButtonTitlePropertyInfo
- constructFontButtonTitle :: IsFontButton o => Text -> IO (GValueConstruct o)
- fontButtonTitle :: AttrLabelProxy "title"
- getFontButtonTitle :: (MonadIO m, IsFontButton o) => o -> m Text
- setFontButtonTitle :: (MonadIO m, IsFontButton o) => o -> Text -> m ()
- data FontButtonUseFontPropertyInfo
- constructFontButtonUseFont :: IsFontButton o => Bool -> IO (GValueConstruct o)
- fontButtonUseFont :: AttrLabelProxy "useFont"
- getFontButtonUseFont :: (MonadIO m, IsFontButton o) => o -> m Bool
- setFontButtonUseFont :: (MonadIO m, IsFontButton o) => o -> Bool -> m ()
- data FontButtonUseSizePropertyInfo
- constructFontButtonUseSize :: IsFontButton o => Bool -> IO (GValueConstruct o)
- fontButtonUseSize :: AttrLabelProxy "useSize"
- getFontButtonUseSize :: (MonadIO m, IsFontButton o) => o -> m Bool
- setFontButtonUseSize :: (MonadIO m, IsFontButton 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 #
Constructors
| FontButton (ForeignPtr FontButton) |
Instances
| GObject FontButton Source # | |
| IsObject FontButton Source # | |
| IsWidget FontButton Source # | |
| IsContainer FontButton Source # | |
| IsButton FontButton Source # | |
| IsBin FontButton Source # | |
| IsFontChooser FontButton Source # | |
| IsBuildable FontButton Source # | |
| IsImplementorIface FontButton Source # | |
| IsActivatable FontButton Source # | |
| IsActionable FontButton Source # | |
| IsFontButton 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 # | |
| HasAttributeList * FontButton Source # | |
| type SignalList FontButton Source # | |
| type AttributeList FontButton Source # | |
class GObject o => IsFontButton o Source #
Instances
| (GObject a, UnknownAncestorError Constraint FontButton a) => IsFontButton a Source # | |
| IsFontButton FontButton Source # | |
toFontButton :: IsFontButton o => o -> IO FontButton Source #
Methods
fontButtonGetFontName
data FontButtonGetFontNameMethodInfo Source #
Instances
| ((~) * signature (m Text), MonadIO m, IsFontButton a) => MethodInfo * FontButtonGetFontNameMethodInfo a signature Source # | |
fontButtonGetFontName :: (MonadIO m, IsFontButton a) => a -> m Text Source #
fontButtonGetShowSize
data FontButtonGetShowSizeMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsFontButton a) => MethodInfo * FontButtonGetShowSizeMethodInfo a signature Source # | |
fontButtonGetShowSize :: (MonadIO m, IsFontButton a) => a -> m Bool Source #
fontButtonGetShowStyle
data FontButtonGetShowStyleMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsFontButton a) => MethodInfo * FontButtonGetShowStyleMethodInfo a signature Source # | |
fontButtonGetShowStyle :: (MonadIO m, IsFontButton a) => a -> m Bool Source #
fontButtonGetTitle
data FontButtonGetTitleMethodInfo Source #
Instances
| ((~) * signature (m Text), MonadIO m, IsFontButton a) => MethodInfo * FontButtonGetTitleMethodInfo a signature Source # | |
fontButtonGetTitle :: (MonadIO m, IsFontButton a) => a -> m Text Source #
fontButtonGetUseFont
data FontButtonGetUseFontMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsFontButton a) => MethodInfo * FontButtonGetUseFontMethodInfo a signature Source # | |
fontButtonGetUseFont :: (MonadIO m, IsFontButton a) => a -> m Bool Source #
fontButtonGetUseSize
data FontButtonGetUseSizeMethodInfo Source #
Instances
| ((~) * signature (m Bool), MonadIO m, IsFontButton a) => MethodInfo * FontButtonGetUseSizeMethodInfo a signature Source # | |
fontButtonGetUseSize :: (MonadIO m, IsFontButton a) => a -> m Bool Source #
fontButtonNew
fontButtonNew :: MonadIO m => m FontButton Source #
fontButtonNewWithFont
fontButtonNewWithFont :: MonadIO m => Text -> m FontButton Source #
fontButtonSetFontName
data FontButtonSetFontNameMethodInfo Source #
Instances
| ((~) * signature (Text -> m Bool), MonadIO m, IsFontButton a) => MethodInfo * FontButtonSetFontNameMethodInfo a signature Source # | |
fontButtonSetFontName :: (MonadIO m, IsFontButton a) => a -> Text -> m Bool Source #
fontButtonSetShowSize
data FontButtonSetShowSizeMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsFontButton a) => MethodInfo * FontButtonSetShowSizeMethodInfo a signature Source # | |
fontButtonSetShowSize :: (MonadIO m, IsFontButton a) => a -> Bool -> m () Source #
fontButtonSetShowStyle
data FontButtonSetShowStyleMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsFontButton a) => MethodInfo * FontButtonSetShowStyleMethodInfo a signature Source # | |
fontButtonSetShowStyle :: (MonadIO m, IsFontButton a) => a -> Bool -> m () Source #
fontButtonSetTitle
data FontButtonSetTitleMethodInfo Source #
Instances
| ((~) * signature (Text -> m ()), MonadIO m, IsFontButton a) => MethodInfo * FontButtonSetTitleMethodInfo a signature Source # | |
fontButtonSetTitle :: (MonadIO m, IsFontButton a) => a -> Text -> m () Source #
fontButtonSetUseFont
data FontButtonSetUseFontMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsFontButton a) => MethodInfo * FontButtonSetUseFontMethodInfo a signature Source # | |
fontButtonSetUseFont :: (MonadIO m, IsFontButton a) => a -> Bool -> m () Source #
fontButtonSetUseSize
data FontButtonSetUseSizeMethodInfo Source #
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, IsFontButton a) => MethodInfo * FontButtonSetUseSizeMethodInfo a signature Source # | |
fontButtonSetUseSize :: (MonadIO m, IsFontButton a) => a -> Bool -> m () Source #
Properties
FontName
data FontButtonFontNamePropertyInfo Source #
Instances
| AttrInfo FontButtonFontNamePropertyInfo Source # | |
| type AttrSetTypeConstraint FontButtonFontNamePropertyInfo Source # | |
| type AttrLabel FontButtonFontNamePropertyInfo Source # | |
| type AttrGetType FontButtonFontNamePropertyInfo Source # | |
| type AttrBaseTypeConstraint FontButtonFontNamePropertyInfo Source # | |
| type AttrAllowedOps FontButtonFontNamePropertyInfo Source # | |
clearFontButtonFontName :: (MonadIO m, IsFontButton o) => o -> m () Source #
constructFontButtonFontName :: IsFontButton o => Text -> IO (GValueConstruct o) Source #
fontButtonFontName :: AttrLabelProxy "fontName" Source #
getFontButtonFontName :: (MonadIO m, IsFontButton o) => o -> m Text Source #
setFontButtonFontName :: (MonadIO m, IsFontButton o) => o -> Text -> m () Source #
ShowSize
data FontButtonShowSizePropertyInfo Source #
Instances
| AttrInfo FontButtonShowSizePropertyInfo Source # | |
| type AttrSetTypeConstraint FontButtonShowSizePropertyInfo Source # | |
| type AttrLabel FontButtonShowSizePropertyInfo Source # | |
| type AttrGetType FontButtonShowSizePropertyInfo Source # | |
| type AttrBaseTypeConstraint FontButtonShowSizePropertyInfo Source # | |
| type AttrAllowedOps FontButtonShowSizePropertyInfo Source # | |
constructFontButtonShowSize :: IsFontButton o => Bool -> IO (GValueConstruct o) Source #
fontButtonShowSize :: AttrLabelProxy "showSize" Source #
getFontButtonShowSize :: (MonadIO m, IsFontButton o) => o -> m Bool Source #
setFontButtonShowSize :: (MonadIO m, IsFontButton o) => o -> Bool -> m () Source #
ShowStyle
data FontButtonShowStylePropertyInfo Source #
Instances
| AttrInfo FontButtonShowStylePropertyInfo Source # | |
| type AttrSetTypeConstraint FontButtonShowStylePropertyInfo Source # | |
| type AttrLabel FontButtonShowStylePropertyInfo Source # | |
| type AttrGetType FontButtonShowStylePropertyInfo Source # | |
| type AttrBaseTypeConstraint FontButtonShowStylePropertyInfo Source # | |
| type AttrAllowedOps FontButtonShowStylePropertyInfo Source # | |
constructFontButtonShowStyle :: IsFontButton o => Bool -> IO (GValueConstruct o) Source #
fontButtonShowStyle :: AttrLabelProxy "showStyle" Source #
getFontButtonShowStyle :: (MonadIO m, IsFontButton o) => o -> m Bool Source #
setFontButtonShowStyle :: (MonadIO m, IsFontButton o) => o -> Bool -> m () Source #
Title
data FontButtonTitlePropertyInfo Source #
Instances
| AttrInfo FontButtonTitlePropertyInfo Source # | |
| type AttrSetTypeConstraint FontButtonTitlePropertyInfo Source # | |
| type AttrLabel FontButtonTitlePropertyInfo Source # | |
| type AttrGetType FontButtonTitlePropertyInfo Source # | |
| type AttrBaseTypeConstraint FontButtonTitlePropertyInfo Source # | |
| type AttrAllowedOps FontButtonTitlePropertyInfo Source # | |
constructFontButtonTitle :: IsFontButton o => Text -> IO (GValueConstruct o) Source #
fontButtonTitle :: AttrLabelProxy "title" Source #
getFontButtonTitle :: (MonadIO m, IsFontButton o) => o -> m Text Source #
setFontButtonTitle :: (MonadIO m, IsFontButton o) => o -> Text -> m () Source #
UseFont
data FontButtonUseFontPropertyInfo Source #
Instances
| AttrInfo FontButtonUseFontPropertyInfo Source # | |
| type AttrSetTypeConstraint FontButtonUseFontPropertyInfo Source # | |
| type AttrLabel FontButtonUseFontPropertyInfo Source # | |
| type AttrGetType FontButtonUseFontPropertyInfo Source # | |
| type AttrBaseTypeConstraint FontButtonUseFontPropertyInfo Source # | |
| type AttrAllowedOps FontButtonUseFontPropertyInfo Source # | |
constructFontButtonUseFont :: IsFontButton o => Bool -> IO (GValueConstruct o) Source #
fontButtonUseFont :: AttrLabelProxy "useFont" Source #
getFontButtonUseFont :: (MonadIO m, IsFontButton o) => o -> m Bool Source #
setFontButtonUseFont :: (MonadIO m, IsFontButton o) => o -> Bool -> m () Source #
UseSize
data FontButtonUseSizePropertyInfo Source #
Instances
| AttrInfo FontButtonUseSizePropertyInfo Source # | |
| type AttrSetTypeConstraint FontButtonUseSizePropertyInfo Source # | |
| type AttrLabel FontButtonUseSizePropertyInfo Source # | |
| type AttrGetType FontButtonUseSizePropertyInfo Source # | |
| type AttrBaseTypeConstraint FontButtonUseSizePropertyInfo Source # | |
| type AttrAllowedOps FontButtonUseSizePropertyInfo Source # | |
constructFontButtonUseSize :: IsFontButton o => Bool -> IO (GValueConstruct o) Source #
fontButtonUseSize :: AttrLabelProxy "useSize" Source #
getFontButtonUseSize :: (MonadIO m, IsFontButton o) => o -> m Bool Source #
setFontButtonUseSize :: (MonadIO m, IsFontButton o) => o -> Bool -> m () Source #
Signals
FontSet
type FontButtonFontSetCallback = IO () Source #
data FontButtonFontSetSignalInfo Source #
Instances
| SignalInfo FontButtonFontSetSignalInfo Source # | |
| type HaskellCallbackType FontButtonFontSetSignalInfo Source # | |
afterFontButtonFontSet :: (GObject a, MonadIO m) => a -> FontButtonFontSetCallback -> m SignalHandlerId Source #
fontButtonFontSetCallbackWrapper :: FontButtonFontSetCallback -> Ptr () -> Ptr () -> IO () Source #
fontButtonFontSetClosure :: FontButtonFontSetCallback -> IO Closure Source #
mkFontButtonFontSetCallback :: FontButtonFontSetCallbackC -> IO (FunPtr FontButtonFontSetCallbackC) Source #
onFontButtonFontSet :: (GObject a, MonadIO m) => a -> FontButtonFontSetCallback -> m SignalHandlerId Source #