#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.CellRendererText
(
CellRendererText(..) ,
IsCellRendererText ,
toCellRendererText ,
noCellRendererText ,
cellRendererTextNew ,
#if ENABLE_OVERLOADING
CellRendererTextSetFixedHeightFromFontMethodInfo,
#endif
cellRendererTextSetFixedHeightFromFont ,
#if ENABLE_OVERLOADING
CellRendererTextAlignSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextAlignSet ,
#endif
constructCellRendererTextAlignSet ,
getCellRendererTextAlignSet ,
setCellRendererTextAlignSet ,
#if ENABLE_OVERLOADING
CellRendererTextAlignmentPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextAlignment ,
#endif
constructCellRendererTextAlignment ,
getCellRendererTextAlignment ,
setCellRendererTextAlignment ,
#if ENABLE_OVERLOADING
CellRendererTextAttributesPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextAttributes ,
#endif
clearCellRendererTextAttributes ,
constructCellRendererTextAttributes ,
getCellRendererTextAttributes ,
setCellRendererTextAttributes ,
#if ENABLE_OVERLOADING
CellRendererTextBackgroundPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextBackground ,
#endif
clearCellRendererTextBackground ,
constructCellRendererTextBackground ,
setCellRendererTextBackground ,
#if ENABLE_OVERLOADING
CellRendererTextBackgroundGdkPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextBackgroundGdk ,
#endif
clearCellRendererTextBackgroundGdk ,
constructCellRendererTextBackgroundGdk ,
getCellRendererTextBackgroundGdk ,
setCellRendererTextBackgroundGdk ,
#if ENABLE_OVERLOADING
CellRendererTextBackgroundRgbaPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextBackgroundRgba ,
#endif
clearCellRendererTextBackgroundRgba ,
constructCellRendererTextBackgroundRgba ,
getCellRendererTextBackgroundRgba ,
setCellRendererTextBackgroundRgba ,
#if ENABLE_OVERLOADING
CellRendererTextBackgroundSetPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextBackgroundSet ,
#endif
constructCellRendererTextBackgroundSet ,
getCellRendererTextBackgroundSet ,
setCellRendererTextBackgroundSet ,
#if ENABLE_OVERLOADING
CellRendererTextEditablePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextEditable ,
#endif
constructCellRendererTextEditable ,
getCellRendererTextEditable ,
setCellRendererTextEditable ,
#if ENABLE_OVERLOADING
CellRendererTextEditableSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextEditableSet ,
#endif
constructCellRendererTextEditableSet ,
getCellRendererTextEditableSet ,
setCellRendererTextEditableSet ,
#if ENABLE_OVERLOADING
CellRendererTextEllipsizePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextEllipsize ,
#endif
constructCellRendererTextEllipsize ,
getCellRendererTextEllipsize ,
setCellRendererTextEllipsize ,
#if ENABLE_OVERLOADING
CellRendererTextEllipsizeSetPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextEllipsizeSet ,
#endif
constructCellRendererTextEllipsizeSet ,
getCellRendererTextEllipsizeSet ,
setCellRendererTextEllipsizeSet ,
#if ENABLE_OVERLOADING
CellRendererTextFamilyPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextFamily ,
#endif
clearCellRendererTextFamily ,
constructCellRendererTextFamily ,
getCellRendererTextFamily ,
setCellRendererTextFamily ,
#if ENABLE_OVERLOADING
CellRendererTextFamilySetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextFamilySet ,
#endif
constructCellRendererTextFamilySet ,
getCellRendererTextFamilySet ,
setCellRendererTextFamilySet ,
#if ENABLE_OVERLOADING
CellRendererTextFontPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextFont ,
#endif
clearCellRendererTextFont ,
constructCellRendererTextFont ,
getCellRendererTextFont ,
setCellRendererTextFont ,
#if ENABLE_OVERLOADING
CellRendererTextFontDescPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextFontDesc ,
#endif
clearCellRendererTextFontDesc ,
constructCellRendererTextFontDesc ,
getCellRendererTextFontDesc ,
setCellRendererTextFontDesc ,
#if ENABLE_OVERLOADING
CellRendererTextForegroundPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextForeground ,
#endif
clearCellRendererTextForeground ,
constructCellRendererTextForeground ,
setCellRendererTextForeground ,
#if ENABLE_OVERLOADING
CellRendererTextForegroundGdkPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextForegroundGdk ,
#endif
clearCellRendererTextForegroundGdk ,
constructCellRendererTextForegroundGdk ,
getCellRendererTextForegroundGdk ,
setCellRendererTextForegroundGdk ,
#if ENABLE_OVERLOADING
CellRendererTextForegroundRgbaPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextForegroundRgba ,
#endif
clearCellRendererTextForegroundRgba ,
constructCellRendererTextForegroundRgba ,
getCellRendererTextForegroundRgba ,
setCellRendererTextForegroundRgba ,
#if ENABLE_OVERLOADING
CellRendererTextForegroundSetPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextForegroundSet ,
#endif
constructCellRendererTextForegroundSet ,
getCellRendererTextForegroundSet ,
setCellRendererTextForegroundSet ,
#if ENABLE_OVERLOADING
CellRendererTextLanguagePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextLanguage ,
#endif
clearCellRendererTextLanguage ,
constructCellRendererTextLanguage ,
getCellRendererTextLanguage ,
setCellRendererTextLanguage ,
#if ENABLE_OVERLOADING
CellRendererTextLanguageSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextLanguageSet ,
#endif
constructCellRendererTextLanguageSet ,
getCellRendererTextLanguageSet ,
setCellRendererTextLanguageSet ,
#if ENABLE_OVERLOADING
CellRendererTextMarkupPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextMarkup ,
#endif
clearCellRendererTextMarkup ,
constructCellRendererTextMarkup ,
setCellRendererTextMarkup ,
#if ENABLE_OVERLOADING
CellRendererTextMaxWidthCharsPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextMaxWidthChars ,
#endif
constructCellRendererTextMaxWidthChars ,
getCellRendererTextMaxWidthChars ,
setCellRendererTextMaxWidthChars ,
#if ENABLE_OVERLOADING
CellRendererTextPlaceholderTextPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextPlaceholderText ,
#endif
clearCellRendererTextPlaceholderText ,
constructCellRendererTextPlaceholderText,
getCellRendererTextPlaceholderText ,
setCellRendererTextPlaceholderText ,
#if ENABLE_OVERLOADING
CellRendererTextRisePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextRise ,
#endif
constructCellRendererTextRise ,
getCellRendererTextRise ,
setCellRendererTextRise ,
#if ENABLE_OVERLOADING
CellRendererTextRiseSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextRiseSet ,
#endif
constructCellRendererTextRiseSet ,
getCellRendererTextRiseSet ,
setCellRendererTextRiseSet ,
#if ENABLE_OVERLOADING
CellRendererTextScalePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextScale ,
#endif
constructCellRendererTextScale ,
getCellRendererTextScale ,
setCellRendererTextScale ,
#if ENABLE_OVERLOADING
CellRendererTextScaleSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextScaleSet ,
#endif
constructCellRendererTextScaleSet ,
getCellRendererTextScaleSet ,
setCellRendererTextScaleSet ,
#if ENABLE_OVERLOADING
CellRendererTextSingleParagraphModePropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextSingleParagraphMode ,
#endif
constructCellRendererTextSingleParagraphMode,
getCellRendererTextSingleParagraphMode ,
setCellRendererTextSingleParagraphMode ,
#if ENABLE_OVERLOADING
CellRendererTextSizePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextSize ,
#endif
constructCellRendererTextSize ,
getCellRendererTextSize ,
setCellRendererTextSize ,
#if ENABLE_OVERLOADING
CellRendererTextSizePointsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextSizePoints ,
#endif
constructCellRendererTextSizePoints ,
getCellRendererTextSizePoints ,
setCellRendererTextSizePoints ,
#if ENABLE_OVERLOADING
CellRendererTextSizeSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextSizeSet ,
#endif
constructCellRendererTextSizeSet ,
getCellRendererTextSizeSet ,
setCellRendererTextSizeSet ,
#if ENABLE_OVERLOADING
CellRendererTextStretchPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextStretch ,
#endif
constructCellRendererTextStretch ,
getCellRendererTextStretch ,
setCellRendererTextStretch ,
#if ENABLE_OVERLOADING
CellRendererTextStretchSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextStretchSet ,
#endif
constructCellRendererTextStretchSet ,
getCellRendererTextStretchSet ,
setCellRendererTextStretchSet ,
#if ENABLE_OVERLOADING
CellRendererTextStrikethroughPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextStrikethrough ,
#endif
constructCellRendererTextStrikethrough ,
getCellRendererTextStrikethrough ,
setCellRendererTextStrikethrough ,
#if ENABLE_OVERLOADING
CellRendererTextStrikethroughSetPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextStrikethroughSet ,
#endif
constructCellRendererTextStrikethroughSet,
getCellRendererTextStrikethroughSet ,
setCellRendererTextStrikethroughSet ,
#if ENABLE_OVERLOADING
CellRendererTextStylePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextStyle ,
#endif
constructCellRendererTextStyle ,
getCellRendererTextStyle ,
setCellRendererTextStyle ,
#if ENABLE_OVERLOADING
CellRendererTextStyleSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextStyleSet ,
#endif
constructCellRendererTextStyleSet ,
getCellRendererTextStyleSet ,
setCellRendererTextStyleSet ,
#if ENABLE_OVERLOADING
CellRendererTextTextPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextText ,
#endif
clearCellRendererTextText ,
constructCellRendererTextText ,
getCellRendererTextText ,
setCellRendererTextText ,
#if ENABLE_OVERLOADING
CellRendererTextUnderlinePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextUnderline ,
#endif
constructCellRendererTextUnderline ,
getCellRendererTextUnderline ,
setCellRendererTextUnderline ,
#if ENABLE_OVERLOADING
CellRendererTextUnderlineSetPropertyInfo,
#endif
#if ENABLE_OVERLOADING
cellRendererTextUnderlineSet ,
#endif
constructCellRendererTextUnderlineSet ,
getCellRendererTextUnderlineSet ,
setCellRendererTextUnderlineSet ,
#if ENABLE_OVERLOADING
CellRendererTextVariantPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextVariant ,
#endif
constructCellRendererTextVariant ,
getCellRendererTextVariant ,
setCellRendererTextVariant ,
#if ENABLE_OVERLOADING
CellRendererTextVariantSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextVariantSet ,
#endif
constructCellRendererTextVariantSet ,
getCellRendererTextVariantSet ,
setCellRendererTextVariantSet ,
#if ENABLE_OVERLOADING
CellRendererTextWeightPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextWeight ,
#endif
constructCellRendererTextWeight ,
getCellRendererTextWeight ,
setCellRendererTextWeight ,
#if ENABLE_OVERLOADING
CellRendererTextWeightSetPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextWeightSet ,
#endif
constructCellRendererTextWeightSet ,
getCellRendererTextWeightSet ,
setCellRendererTextWeightSet ,
#if ENABLE_OVERLOADING
CellRendererTextWidthCharsPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextWidthChars ,
#endif
constructCellRendererTextWidthChars ,
getCellRendererTextWidthChars ,
setCellRendererTextWidthChars ,
#if ENABLE_OVERLOADING
CellRendererTextWrapModePropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextWrapMode ,
#endif
constructCellRendererTextWrapMode ,
getCellRendererTextWrapMode ,
setCellRendererTextWrapMode ,
#if ENABLE_OVERLOADING
CellRendererTextWrapWidthPropertyInfo ,
#endif
#if ENABLE_OVERLOADING
cellRendererTextWrapWidth ,
#endif
constructCellRendererTextWrapWidth ,
getCellRendererTextWrapWidth ,
setCellRendererTextWrapWidth ,
C_CellRendererTextEditedCallback ,
CellRendererTextEditedCallback ,
#if ENABLE_OVERLOADING
CellRendererTextEditedSignalInfo ,
#endif
afterCellRendererTextEdited ,
genClosure_CellRendererTextEdited ,
mk_CellRendererTextEditedCallback ,
noCellRendererTextEditedCallback ,
onCellRendererTextEdited ,
wrap_CellRendererTextEditedCallback ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Structs.Color as Gdk.Color
import qualified GI.Gdk.Structs.RGBA as Gdk.RGBA
import {-# SOURCE #-} qualified GI.Gtk.Objects.CellRenderer as Gtk.CellRenderer
import qualified GI.Pango.Enums as Pango.Enums
import qualified GI.Pango.Structs.AttrList as Pango.AttrList
import qualified GI.Pango.Structs.FontDescription as Pango.FontDescription
newtype CellRendererText = CellRendererText (ManagedPtr CellRendererText)
foreign import ccall "gtk_cell_renderer_text_get_type"
c_gtk_cell_renderer_text_get_type :: IO GType
instance GObject CellRendererText where
gobjectType _ = c_gtk_cell_renderer_text_get_type
class GObject o => IsCellRendererText o
#if MIN_VERSION_base(4,9,0)
instance {-# OVERLAPPABLE #-} (GObject a, O.UnknownAncestorError CellRendererText a) =>
IsCellRendererText a
#endif
instance IsCellRendererText CellRendererText
instance Gtk.CellRenderer.IsCellRenderer CellRendererText
instance GObject.Object.IsObject CellRendererText
toCellRendererText :: (MonadIO m, IsCellRendererText o) => o -> m CellRendererText
toCellRendererText = liftIO . unsafeCastTo CellRendererText
noCellRendererText :: Maybe CellRendererText
noCellRendererText = Nothing
#if ENABLE_OVERLOADING
type family ResolveCellRendererTextMethod (t :: Symbol) (o :: *) :: * where
ResolveCellRendererTextMethod "activate" o = Gtk.CellRenderer.CellRendererActivateMethodInfo
ResolveCellRendererTextMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveCellRendererTextMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveCellRendererTextMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveCellRendererTextMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveCellRendererTextMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveCellRendererTextMethod "isActivatable" o = Gtk.CellRenderer.CellRendererIsActivatableMethodInfo
ResolveCellRendererTextMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveCellRendererTextMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveCellRendererTextMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveCellRendererTextMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveCellRendererTextMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveCellRendererTextMethod "render" o = Gtk.CellRenderer.CellRendererRenderMethodInfo
ResolveCellRendererTextMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveCellRendererTextMethod "startEditing" o = Gtk.CellRenderer.CellRendererStartEditingMethodInfo
ResolveCellRendererTextMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveCellRendererTextMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveCellRendererTextMethod "stopEditing" o = Gtk.CellRenderer.CellRendererStopEditingMethodInfo
ResolveCellRendererTextMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveCellRendererTextMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveCellRendererTextMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveCellRendererTextMethod "getAlignedArea" o = Gtk.CellRenderer.CellRendererGetAlignedAreaMethodInfo
ResolveCellRendererTextMethod "getAlignment" o = Gtk.CellRenderer.CellRendererGetAlignmentMethodInfo
ResolveCellRendererTextMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveCellRendererTextMethod "getFixedSize" o = Gtk.CellRenderer.CellRendererGetFixedSizeMethodInfo
ResolveCellRendererTextMethod "getPadding" o = Gtk.CellRenderer.CellRendererGetPaddingMethodInfo
ResolveCellRendererTextMethod "getPreferredHeight" o = Gtk.CellRenderer.CellRendererGetPreferredHeightMethodInfo
ResolveCellRendererTextMethod "getPreferredHeightForWidth" o = Gtk.CellRenderer.CellRendererGetPreferredHeightForWidthMethodInfo
ResolveCellRendererTextMethod "getPreferredSize" o = Gtk.CellRenderer.CellRendererGetPreferredSizeMethodInfo
ResolveCellRendererTextMethod "getPreferredWidth" o = Gtk.CellRenderer.CellRendererGetPreferredWidthMethodInfo
ResolveCellRendererTextMethod "getPreferredWidthForHeight" o = Gtk.CellRenderer.CellRendererGetPreferredWidthForHeightMethodInfo
ResolveCellRendererTextMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveCellRendererTextMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveCellRendererTextMethod "getRequestMode" o = Gtk.CellRenderer.CellRendererGetRequestModeMethodInfo
ResolveCellRendererTextMethod "getSensitive" o = Gtk.CellRenderer.CellRendererGetSensitiveMethodInfo
ResolveCellRendererTextMethod "getSize" o = Gtk.CellRenderer.CellRendererGetSizeMethodInfo
ResolveCellRendererTextMethod "getState" o = Gtk.CellRenderer.CellRendererGetStateMethodInfo
ResolveCellRendererTextMethod "getVisible" o = Gtk.CellRenderer.CellRendererGetVisibleMethodInfo
ResolveCellRendererTextMethod "setAlignment" o = Gtk.CellRenderer.CellRendererSetAlignmentMethodInfo
ResolveCellRendererTextMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveCellRendererTextMethod "setFixedHeightFromFont" o = CellRendererTextSetFixedHeightFromFontMethodInfo
ResolveCellRendererTextMethod "setFixedSize" o = Gtk.CellRenderer.CellRendererSetFixedSizeMethodInfo
ResolveCellRendererTextMethod "setPadding" o = Gtk.CellRenderer.CellRendererSetPaddingMethodInfo
ResolveCellRendererTextMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveCellRendererTextMethod "setSensitive" o = Gtk.CellRenderer.CellRendererSetSensitiveMethodInfo
ResolveCellRendererTextMethod "setVisible" o = Gtk.CellRenderer.CellRendererSetVisibleMethodInfo
ResolveCellRendererTextMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveCellRendererTextMethod t CellRendererText, O.MethodInfo info CellRendererText p) => O.IsLabelProxy t (CellRendererText -> p) where
fromLabelProxy _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#if MIN_VERSION_base(4,9,0)
instance (info ~ ResolveCellRendererTextMethod t CellRendererText, O.MethodInfo info CellRendererText p) => O.IsLabel t (CellRendererText -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
#endif
type CellRendererTextEditedCallback =
T.Text
-> T.Text
-> IO ()
noCellRendererTextEditedCallback :: Maybe CellRendererTextEditedCallback
noCellRendererTextEditedCallback = Nothing
type C_CellRendererTextEditedCallback =
Ptr () ->
CString ->
CString ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_CellRendererTextEditedCallback :: C_CellRendererTextEditedCallback -> IO (FunPtr C_CellRendererTextEditedCallback)
genClosure_CellRendererTextEdited :: CellRendererTextEditedCallback -> IO Closure
genClosure_CellRendererTextEdited cb = do
let cb' = wrap_CellRendererTextEditedCallback cb
mk_CellRendererTextEditedCallback cb' >>= newCClosure
wrap_CellRendererTextEditedCallback ::
CellRendererTextEditedCallback ->
C_CellRendererTextEditedCallback
wrap_CellRendererTextEditedCallback _cb _ path newText _ = do
path' <- cstringToText path
newText' <- cstringToText newText
_cb path' newText'
onCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> CellRendererTextEditedCallback -> m SignalHandlerId
onCellRendererTextEdited obj cb = liftIO $ do
let cb' = wrap_CellRendererTextEditedCallback cb
cb'' <- mk_CellRendererTextEditedCallback cb'
connectSignalFunPtr obj "edited" cb'' SignalConnectBefore
afterCellRendererTextEdited :: (IsCellRendererText a, MonadIO m) => a -> CellRendererTextEditedCallback -> m SignalHandlerId
afterCellRendererTextEdited obj cb = liftIO $ do
let cb' = wrap_CellRendererTextEditedCallback cb
cb'' <- mk_CellRendererTextEditedCallback cb'
connectSignalFunPtr obj "edited" cb'' SignalConnectAfter
getCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextAlignSet obj = liftIO $ getObjectPropertyBool obj "align-set"
setCellRendererTextAlignSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextAlignSet obj val = liftIO $ setObjectPropertyBool obj "align-set" val
constructCellRendererTextAlignSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextAlignSet val = constructObjectPropertyBool "align-set" val
#if ENABLE_OVERLOADING
data CellRendererTextAlignSetPropertyInfo
instance AttrInfo CellRendererTextAlignSetPropertyInfo where
type AttrAllowedOps CellRendererTextAlignSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextAlignSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextAlignSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextAlignSetPropertyInfo = Bool
type AttrLabel CellRendererTextAlignSetPropertyInfo = "align-set"
type AttrOrigin CellRendererTextAlignSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextAlignSet
attrSet _ = setCellRendererTextAlignSet
attrConstruct _ = constructCellRendererTextAlignSet
attrClear _ = undefined
#endif
getCellRendererTextAlignment :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.Alignment
getCellRendererTextAlignment obj = liftIO $ getObjectPropertyEnum obj "alignment"
setCellRendererTextAlignment :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.Alignment -> m ()
setCellRendererTextAlignment obj val = liftIO $ setObjectPropertyEnum obj "alignment" val
constructCellRendererTextAlignment :: (IsCellRendererText o) => Pango.Enums.Alignment -> IO (GValueConstruct o)
constructCellRendererTextAlignment val = constructObjectPropertyEnum "alignment" val
#if ENABLE_OVERLOADING
data CellRendererTextAlignmentPropertyInfo
instance AttrInfo CellRendererTextAlignmentPropertyInfo where
type AttrAllowedOps CellRendererTextAlignmentPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextAlignmentPropertyInfo = (~) Pango.Enums.Alignment
type AttrBaseTypeConstraint CellRendererTextAlignmentPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextAlignmentPropertyInfo = Pango.Enums.Alignment
type AttrLabel CellRendererTextAlignmentPropertyInfo = "alignment"
type AttrOrigin CellRendererTextAlignmentPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextAlignment
attrSet _ = setCellRendererTextAlignment
attrConstruct _ = constructCellRendererTextAlignment
attrClear _ = undefined
#endif
getCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Pango.AttrList.AttrList)
getCellRendererTextAttributes obj = liftIO $ getObjectPropertyBoxed obj "attributes" Pango.AttrList.AttrList
setCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> Pango.AttrList.AttrList -> m ()
setCellRendererTextAttributes obj val = liftIO $ setObjectPropertyBoxed obj "attributes" (Just val)
constructCellRendererTextAttributes :: (IsCellRendererText o) => Pango.AttrList.AttrList -> IO (GValueConstruct o)
constructCellRendererTextAttributes val = constructObjectPropertyBoxed "attributes" (Just val)
clearCellRendererTextAttributes :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextAttributes obj = liftIO $ setObjectPropertyBoxed obj "attributes" (Nothing :: Maybe Pango.AttrList.AttrList)
#if ENABLE_OVERLOADING
data CellRendererTextAttributesPropertyInfo
instance AttrInfo CellRendererTextAttributesPropertyInfo where
type AttrAllowedOps CellRendererTextAttributesPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextAttributesPropertyInfo = (~) Pango.AttrList.AttrList
type AttrBaseTypeConstraint CellRendererTextAttributesPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextAttributesPropertyInfo = (Maybe Pango.AttrList.AttrList)
type AttrLabel CellRendererTextAttributesPropertyInfo = "attributes"
type AttrOrigin CellRendererTextAttributesPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextAttributes
attrSet _ = setCellRendererTextAttributes
attrConstruct _ = constructCellRendererTextAttributes
attrClear _ = clearCellRendererTextAttributes
#endif
setCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextBackground obj val = liftIO $ setObjectPropertyString obj "background" (Just val)
constructCellRendererTextBackground :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextBackground val = constructObjectPropertyString "background" (Just val)
clearCellRendererTextBackground :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextBackground obj = liftIO $ setObjectPropertyString obj "background" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextBackgroundPropertyInfo
instance AttrInfo CellRendererTextBackgroundPropertyInfo where
type AttrAllowedOps CellRendererTextBackgroundPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextBackgroundPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextBackgroundPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextBackgroundPropertyInfo = ()
type AttrLabel CellRendererTextBackgroundPropertyInfo = "background"
type AttrOrigin CellRendererTextBackgroundPropertyInfo = CellRendererText
attrGet _ = undefined
attrSet _ = setCellRendererTextBackground
attrConstruct _ = constructCellRendererTextBackground
attrClear _ = clearCellRendererTextBackground
#endif
getCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Gdk.Color.Color)
getCellRendererTextBackgroundGdk obj = liftIO $ getObjectPropertyBoxed obj "background-gdk" Gdk.Color.Color
setCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> Gdk.Color.Color -> m ()
setCellRendererTextBackgroundGdk obj val = liftIO $ setObjectPropertyBoxed obj "background-gdk" (Just val)
constructCellRendererTextBackgroundGdk :: (IsCellRendererText o) => Gdk.Color.Color -> IO (GValueConstruct o)
constructCellRendererTextBackgroundGdk val = constructObjectPropertyBoxed "background-gdk" (Just val)
clearCellRendererTextBackgroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextBackgroundGdk obj = liftIO $ setObjectPropertyBoxed obj "background-gdk" (Nothing :: Maybe Gdk.Color.Color)
#if ENABLE_OVERLOADING
data CellRendererTextBackgroundGdkPropertyInfo
instance AttrInfo CellRendererTextBackgroundGdkPropertyInfo where
type AttrAllowedOps CellRendererTextBackgroundGdkPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextBackgroundGdkPropertyInfo = (~) Gdk.Color.Color
type AttrBaseTypeConstraint CellRendererTextBackgroundGdkPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextBackgroundGdkPropertyInfo = (Maybe Gdk.Color.Color)
type AttrLabel CellRendererTextBackgroundGdkPropertyInfo = "background-gdk"
type AttrOrigin CellRendererTextBackgroundGdkPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextBackgroundGdk
attrSet _ = setCellRendererTextBackgroundGdk
attrConstruct _ = constructCellRendererTextBackgroundGdk
attrClear _ = clearCellRendererTextBackgroundGdk
#endif
getCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Gdk.RGBA.RGBA)
getCellRendererTextBackgroundRgba obj = liftIO $ getObjectPropertyBoxed obj "background-rgba" Gdk.RGBA.RGBA
setCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> Gdk.RGBA.RGBA -> m ()
setCellRendererTextBackgroundRgba obj val = liftIO $ setObjectPropertyBoxed obj "background-rgba" (Just val)
constructCellRendererTextBackgroundRgba :: (IsCellRendererText o) => Gdk.RGBA.RGBA -> IO (GValueConstruct o)
constructCellRendererTextBackgroundRgba val = constructObjectPropertyBoxed "background-rgba" (Just val)
clearCellRendererTextBackgroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextBackgroundRgba obj = liftIO $ setObjectPropertyBoxed obj "background-rgba" (Nothing :: Maybe Gdk.RGBA.RGBA)
#if ENABLE_OVERLOADING
data CellRendererTextBackgroundRgbaPropertyInfo
instance AttrInfo CellRendererTextBackgroundRgbaPropertyInfo where
type AttrAllowedOps CellRendererTextBackgroundRgbaPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextBackgroundRgbaPropertyInfo = (~) Gdk.RGBA.RGBA
type AttrBaseTypeConstraint CellRendererTextBackgroundRgbaPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextBackgroundRgbaPropertyInfo = (Maybe Gdk.RGBA.RGBA)
type AttrLabel CellRendererTextBackgroundRgbaPropertyInfo = "background-rgba"
type AttrOrigin CellRendererTextBackgroundRgbaPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextBackgroundRgba
attrSet _ = setCellRendererTextBackgroundRgba
attrConstruct _ = constructCellRendererTextBackgroundRgba
attrClear _ = clearCellRendererTextBackgroundRgba
#endif
getCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextBackgroundSet obj = liftIO $ getObjectPropertyBool obj "background-set"
setCellRendererTextBackgroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextBackgroundSet obj val = liftIO $ setObjectPropertyBool obj "background-set" val
constructCellRendererTextBackgroundSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextBackgroundSet val = constructObjectPropertyBool "background-set" val
#if ENABLE_OVERLOADING
data CellRendererTextBackgroundSetPropertyInfo
instance AttrInfo CellRendererTextBackgroundSetPropertyInfo where
type AttrAllowedOps CellRendererTextBackgroundSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextBackgroundSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextBackgroundSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextBackgroundSetPropertyInfo = Bool
type AttrLabel CellRendererTextBackgroundSetPropertyInfo = "background-set"
type AttrOrigin CellRendererTextBackgroundSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextBackgroundSet
attrSet _ = setCellRendererTextBackgroundSet
attrConstruct _ = constructCellRendererTextBackgroundSet
attrClear _ = undefined
#endif
getCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextEditable obj = liftIO $ getObjectPropertyBool obj "editable"
setCellRendererTextEditable :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextEditable obj val = liftIO $ setObjectPropertyBool obj "editable" val
constructCellRendererTextEditable :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextEditable val = constructObjectPropertyBool "editable" val
#if ENABLE_OVERLOADING
data CellRendererTextEditablePropertyInfo
instance AttrInfo CellRendererTextEditablePropertyInfo where
type AttrAllowedOps CellRendererTextEditablePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextEditablePropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextEditablePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextEditablePropertyInfo = Bool
type AttrLabel CellRendererTextEditablePropertyInfo = "editable"
type AttrOrigin CellRendererTextEditablePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextEditable
attrSet _ = setCellRendererTextEditable
attrConstruct _ = constructCellRendererTextEditable
attrClear _ = undefined
#endif
getCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextEditableSet obj = liftIO $ getObjectPropertyBool obj "editable-set"
setCellRendererTextEditableSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextEditableSet obj val = liftIO $ setObjectPropertyBool obj "editable-set" val
constructCellRendererTextEditableSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextEditableSet val = constructObjectPropertyBool "editable-set" val
#if ENABLE_OVERLOADING
data CellRendererTextEditableSetPropertyInfo
instance AttrInfo CellRendererTextEditableSetPropertyInfo where
type AttrAllowedOps CellRendererTextEditableSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextEditableSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextEditableSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextEditableSetPropertyInfo = Bool
type AttrLabel CellRendererTextEditableSetPropertyInfo = "editable-set"
type AttrOrigin CellRendererTextEditableSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextEditableSet
attrSet _ = setCellRendererTextEditableSet
attrConstruct _ = constructCellRendererTextEditableSet
attrClear _ = undefined
#endif
getCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.EllipsizeMode
getCellRendererTextEllipsize obj = liftIO $ getObjectPropertyEnum obj "ellipsize"
setCellRendererTextEllipsize :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.EllipsizeMode -> m ()
setCellRendererTextEllipsize obj val = liftIO $ setObjectPropertyEnum obj "ellipsize" val
constructCellRendererTextEllipsize :: (IsCellRendererText o) => Pango.Enums.EllipsizeMode -> IO (GValueConstruct o)
constructCellRendererTextEllipsize val = constructObjectPropertyEnum "ellipsize" val
#if ENABLE_OVERLOADING
data CellRendererTextEllipsizePropertyInfo
instance AttrInfo CellRendererTextEllipsizePropertyInfo where
type AttrAllowedOps CellRendererTextEllipsizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextEllipsizePropertyInfo = (~) Pango.Enums.EllipsizeMode
type AttrBaseTypeConstraint CellRendererTextEllipsizePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextEllipsizePropertyInfo = Pango.Enums.EllipsizeMode
type AttrLabel CellRendererTextEllipsizePropertyInfo = "ellipsize"
type AttrOrigin CellRendererTextEllipsizePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextEllipsize
attrSet _ = setCellRendererTextEllipsize
attrConstruct _ = constructCellRendererTextEllipsize
attrClear _ = undefined
#endif
getCellRendererTextEllipsizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextEllipsizeSet obj = liftIO $ getObjectPropertyBool obj "ellipsize-set"
setCellRendererTextEllipsizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextEllipsizeSet obj val = liftIO $ setObjectPropertyBool obj "ellipsize-set" val
constructCellRendererTextEllipsizeSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextEllipsizeSet val = constructObjectPropertyBool "ellipsize-set" val
#if ENABLE_OVERLOADING
data CellRendererTextEllipsizeSetPropertyInfo
instance AttrInfo CellRendererTextEllipsizeSetPropertyInfo where
type AttrAllowedOps CellRendererTextEllipsizeSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextEllipsizeSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextEllipsizeSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextEllipsizeSetPropertyInfo = Bool
type AttrLabel CellRendererTextEllipsizeSetPropertyInfo = "ellipsize-set"
type AttrOrigin CellRendererTextEllipsizeSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextEllipsizeSet
attrSet _ = setCellRendererTextEllipsizeSet
attrConstruct _ = constructCellRendererTextEllipsizeSet
attrClear _ = undefined
#endif
getCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe T.Text)
getCellRendererTextFamily obj = liftIO $ getObjectPropertyString obj "family"
setCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextFamily obj val = liftIO $ setObjectPropertyString obj "family" (Just val)
constructCellRendererTextFamily :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextFamily val = constructObjectPropertyString "family" (Just val)
clearCellRendererTextFamily :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextFamily obj = liftIO $ setObjectPropertyString obj "family" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextFamilyPropertyInfo
instance AttrInfo CellRendererTextFamilyPropertyInfo where
type AttrAllowedOps CellRendererTextFamilyPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextFamilyPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextFamilyPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextFamilyPropertyInfo = (Maybe T.Text)
type AttrLabel CellRendererTextFamilyPropertyInfo = "family"
type AttrOrigin CellRendererTextFamilyPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextFamily
attrSet _ = setCellRendererTextFamily
attrConstruct _ = constructCellRendererTextFamily
attrClear _ = clearCellRendererTextFamily
#endif
getCellRendererTextFamilySet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextFamilySet obj = liftIO $ getObjectPropertyBool obj "family-set"
setCellRendererTextFamilySet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextFamilySet obj val = liftIO $ setObjectPropertyBool obj "family-set" val
constructCellRendererTextFamilySet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextFamilySet val = constructObjectPropertyBool "family-set" val
#if ENABLE_OVERLOADING
data CellRendererTextFamilySetPropertyInfo
instance AttrInfo CellRendererTextFamilySetPropertyInfo where
type AttrAllowedOps CellRendererTextFamilySetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextFamilySetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextFamilySetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextFamilySetPropertyInfo = Bool
type AttrLabel CellRendererTextFamilySetPropertyInfo = "family-set"
type AttrOrigin CellRendererTextFamilySetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextFamilySet
attrSet _ = setCellRendererTextFamilySet
attrConstruct _ = constructCellRendererTextFamilySet
attrClear _ = undefined
#endif
getCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe T.Text)
getCellRendererTextFont obj = liftIO $ getObjectPropertyString obj "font"
setCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextFont obj val = liftIO $ setObjectPropertyString obj "font" (Just val)
constructCellRendererTextFont :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextFont val = constructObjectPropertyString "font" (Just val)
clearCellRendererTextFont :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextFont obj = liftIO $ setObjectPropertyString obj "font" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextFontPropertyInfo
instance AttrInfo CellRendererTextFontPropertyInfo where
type AttrAllowedOps CellRendererTextFontPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextFontPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextFontPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextFontPropertyInfo = (Maybe T.Text)
type AttrLabel CellRendererTextFontPropertyInfo = "font"
type AttrOrigin CellRendererTextFontPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextFont
attrSet _ = setCellRendererTextFont
attrConstruct _ = constructCellRendererTextFont
attrClear _ = clearCellRendererTextFont
#endif
getCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Pango.FontDescription.FontDescription)
getCellRendererTextFontDesc obj = liftIO $ getObjectPropertyBoxed obj "font-desc" Pango.FontDescription.FontDescription
setCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> Pango.FontDescription.FontDescription -> m ()
setCellRendererTextFontDesc obj val = liftIO $ setObjectPropertyBoxed obj "font-desc" (Just val)
constructCellRendererTextFontDesc :: (IsCellRendererText o) => Pango.FontDescription.FontDescription -> IO (GValueConstruct o)
constructCellRendererTextFontDesc val = constructObjectPropertyBoxed "font-desc" (Just val)
clearCellRendererTextFontDesc :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextFontDesc obj = liftIO $ setObjectPropertyBoxed obj "font-desc" (Nothing :: Maybe Pango.FontDescription.FontDescription)
#if ENABLE_OVERLOADING
data CellRendererTextFontDescPropertyInfo
instance AttrInfo CellRendererTextFontDescPropertyInfo where
type AttrAllowedOps CellRendererTextFontDescPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextFontDescPropertyInfo = (~) Pango.FontDescription.FontDescription
type AttrBaseTypeConstraint CellRendererTextFontDescPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextFontDescPropertyInfo = (Maybe Pango.FontDescription.FontDescription)
type AttrLabel CellRendererTextFontDescPropertyInfo = "font-desc"
type AttrOrigin CellRendererTextFontDescPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextFontDesc
attrSet _ = setCellRendererTextFontDesc
attrConstruct _ = constructCellRendererTextFontDesc
attrClear _ = clearCellRendererTextFontDesc
#endif
setCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextForeground obj val = liftIO $ setObjectPropertyString obj "foreground" (Just val)
constructCellRendererTextForeground :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextForeground val = constructObjectPropertyString "foreground" (Just val)
clearCellRendererTextForeground :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextForeground obj = liftIO $ setObjectPropertyString obj "foreground" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextForegroundPropertyInfo
instance AttrInfo CellRendererTextForegroundPropertyInfo where
type AttrAllowedOps CellRendererTextForegroundPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextForegroundPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextForegroundPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextForegroundPropertyInfo = ()
type AttrLabel CellRendererTextForegroundPropertyInfo = "foreground"
type AttrOrigin CellRendererTextForegroundPropertyInfo = CellRendererText
attrGet _ = undefined
attrSet _ = setCellRendererTextForeground
attrConstruct _ = constructCellRendererTextForeground
attrClear _ = clearCellRendererTextForeground
#endif
getCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Gdk.Color.Color)
getCellRendererTextForegroundGdk obj = liftIO $ getObjectPropertyBoxed obj "foreground-gdk" Gdk.Color.Color
setCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> Gdk.Color.Color -> m ()
setCellRendererTextForegroundGdk obj val = liftIO $ setObjectPropertyBoxed obj "foreground-gdk" (Just val)
constructCellRendererTextForegroundGdk :: (IsCellRendererText o) => Gdk.Color.Color -> IO (GValueConstruct o)
constructCellRendererTextForegroundGdk val = constructObjectPropertyBoxed "foreground-gdk" (Just val)
clearCellRendererTextForegroundGdk :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextForegroundGdk obj = liftIO $ setObjectPropertyBoxed obj "foreground-gdk" (Nothing :: Maybe Gdk.Color.Color)
#if ENABLE_OVERLOADING
data CellRendererTextForegroundGdkPropertyInfo
instance AttrInfo CellRendererTextForegroundGdkPropertyInfo where
type AttrAllowedOps CellRendererTextForegroundGdkPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextForegroundGdkPropertyInfo = (~) Gdk.Color.Color
type AttrBaseTypeConstraint CellRendererTextForegroundGdkPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextForegroundGdkPropertyInfo = (Maybe Gdk.Color.Color)
type AttrLabel CellRendererTextForegroundGdkPropertyInfo = "foreground-gdk"
type AttrOrigin CellRendererTextForegroundGdkPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextForegroundGdk
attrSet _ = setCellRendererTextForegroundGdk
attrConstruct _ = constructCellRendererTextForegroundGdk
attrClear _ = clearCellRendererTextForegroundGdk
#endif
getCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe Gdk.RGBA.RGBA)
getCellRendererTextForegroundRgba obj = liftIO $ getObjectPropertyBoxed obj "foreground-rgba" Gdk.RGBA.RGBA
setCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> Gdk.RGBA.RGBA -> m ()
setCellRendererTextForegroundRgba obj val = liftIO $ setObjectPropertyBoxed obj "foreground-rgba" (Just val)
constructCellRendererTextForegroundRgba :: (IsCellRendererText o) => Gdk.RGBA.RGBA -> IO (GValueConstruct o)
constructCellRendererTextForegroundRgba val = constructObjectPropertyBoxed "foreground-rgba" (Just val)
clearCellRendererTextForegroundRgba :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextForegroundRgba obj = liftIO $ setObjectPropertyBoxed obj "foreground-rgba" (Nothing :: Maybe Gdk.RGBA.RGBA)
#if ENABLE_OVERLOADING
data CellRendererTextForegroundRgbaPropertyInfo
instance AttrInfo CellRendererTextForegroundRgbaPropertyInfo where
type AttrAllowedOps CellRendererTextForegroundRgbaPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextForegroundRgbaPropertyInfo = (~) Gdk.RGBA.RGBA
type AttrBaseTypeConstraint CellRendererTextForegroundRgbaPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextForegroundRgbaPropertyInfo = (Maybe Gdk.RGBA.RGBA)
type AttrLabel CellRendererTextForegroundRgbaPropertyInfo = "foreground-rgba"
type AttrOrigin CellRendererTextForegroundRgbaPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextForegroundRgba
attrSet _ = setCellRendererTextForegroundRgba
attrConstruct _ = constructCellRendererTextForegroundRgba
attrClear _ = clearCellRendererTextForegroundRgba
#endif
getCellRendererTextForegroundSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextForegroundSet obj = liftIO $ getObjectPropertyBool obj "foreground-set"
setCellRendererTextForegroundSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextForegroundSet obj val = liftIO $ setObjectPropertyBool obj "foreground-set" val
constructCellRendererTextForegroundSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextForegroundSet val = constructObjectPropertyBool "foreground-set" val
#if ENABLE_OVERLOADING
data CellRendererTextForegroundSetPropertyInfo
instance AttrInfo CellRendererTextForegroundSetPropertyInfo where
type AttrAllowedOps CellRendererTextForegroundSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextForegroundSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextForegroundSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextForegroundSetPropertyInfo = Bool
type AttrLabel CellRendererTextForegroundSetPropertyInfo = "foreground-set"
type AttrOrigin CellRendererTextForegroundSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextForegroundSet
attrSet _ = setCellRendererTextForegroundSet
attrConstruct _ = constructCellRendererTextForegroundSet
attrClear _ = undefined
#endif
getCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe T.Text)
getCellRendererTextLanguage obj = liftIO $ getObjectPropertyString obj "language"
setCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextLanguage obj val = liftIO $ setObjectPropertyString obj "language" (Just val)
constructCellRendererTextLanguage :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextLanguage val = constructObjectPropertyString "language" (Just val)
clearCellRendererTextLanguage :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextLanguage obj = liftIO $ setObjectPropertyString obj "language" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextLanguagePropertyInfo
instance AttrInfo CellRendererTextLanguagePropertyInfo where
type AttrAllowedOps CellRendererTextLanguagePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextLanguagePropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextLanguagePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextLanguagePropertyInfo = (Maybe T.Text)
type AttrLabel CellRendererTextLanguagePropertyInfo = "language"
type AttrOrigin CellRendererTextLanguagePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextLanguage
attrSet _ = setCellRendererTextLanguage
attrConstruct _ = constructCellRendererTextLanguage
attrClear _ = clearCellRendererTextLanguage
#endif
getCellRendererTextLanguageSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextLanguageSet obj = liftIO $ getObjectPropertyBool obj "language-set"
setCellRendererTextLanguageSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextLanguageSet obj val = liftIO $ setObjectPropertyBool obj "language-set" val
constructCellRendererTextLanguageSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextLanguageSet val = constructObjectPropertyBool "language-set" val
#if ENABLE_OVERLOADING
data CellRendererTextLanguageSetPropertyInfo
instance AttrInfo CellRendererTextLanguageSetPropertyInfo where
type AttrAllowedOps CellRendererTextLanguageSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextLanguageSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextLanguageSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextLanguageSetPropertyInfo = Bool
type AttrLabel CellRendererTextLanguageSetPropertyInfo = "language-set"
type AttrOrigin CellRendererTextLanguageSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextLanguageSet
attrSet _ = setCellRendererTextLanguageSet
attrConstruct _ = constructCellRendererTextLanguageSet
attrClear _ = undefined
#endif
setCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextMarkup obj val = liftIO $ setObjectPropertyString obj "markup" (Just val)
constructCellRendererTextMarkup :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextMarkup val = constructObjectPropertyString "markup" (Just val)
clearCellRendererTextMarkup :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextMarkup obj = liftIO $ setObjectPropertyString obj "markup" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextMarkupPropertyInfo
instance AttrInfo CellRendererTextMarkupPropertyInfo where
type AttrAllowedOps CellRendererTextMarkupPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextMarkupPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextMarkupPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextMarkupPropertyInfo = ()
type AttrLabel CellRendererTextMarkupPropertyInfo = "markup"
type AttrOrigin CellRendererTextMarkupPropertyInfo = CellRendererText
attrGet _ = undefined
attrSet _ = setCellRendererTextMarkup
attrConstruct _ = constructCellRendererTextMarkup
attrClear _ = clearCellRendererTextMarkup
#endif
getCellRendererTextMaxWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32
getCellRendererTextMaxWidthChars obj = liftIO $ getObjectPropertyInt32 obj "max-width-chars"
setCellRendererTextMaxWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
setCellRendererTextMaxWidthChars obj val = liftIO $ setObjectPropertyInt32 obj "max-width-chars" val
constructCellRendererTextMaxWidthChars :: (IsCellRendererText o) => Int32 -> IO (GValueConstruct o)
constructCellRendererTextMaxWidthChars val = constructObjectPropertyInt32 "max-width-chars" val
#if ENABLE_OVERLOADING
data CellRendererTextMaxWidthCharsPropertyInfo
instance AttrInfo CellRendererTextMaxWidthCharsPropertyInfo where
type AttrAllowedOps CellRendererTextMaxWidthCharsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextMaxWidthCharsPropertyInfo = (~) Int32
type AttrBaseTypeConstraint CellRendererTextMaxWidthCharsPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextMaxWidthCharsPropertyInfo = Int32
type AttrLabel CellRendererTextMaxWidthCharsPropertyInfo = "max-width-chars"
type AttrOrigin CellRendererTextMaxWidthCharsPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextMaxWidthChars
attrSet _ = setCellRendererTextMaxWidthChars
attrConstruct _ = constructCellRendererTextMaxWidthChars
attrClear _ = undefined
#endif
getCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe T.Text)
getCellRendererTextPlaceholderText obj = liftIO $ getObjectPropertyString obj "placeholder-text"
setCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextPlaceholderText obj val = liftIO $ setObjectPropertyString obj "placeholder-text" (Just val)
constructCellRendererTextPlaceholderText :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextPlaceholderText val = constructObjectPropertyString "placeholder-text" (Just val)
clearCellRendererTextPlaceholderText :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextPlaceholderText obj = liftIO $ setObjectPropertyString obj "placeholder-text" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextPlaceholderTextPropertyInfo
instance AttrInfo CellRendererTextPlaceholderTextPropertyInfo where
type AttrAllowedOps CellRendererTextPlaceholderTextPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextPlaceholderTextPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextPlaceholderTextPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextPlaceholderTextPropertyInfo = (Maybe T.Text)
type AttrLabel CellRendererTextPlaceholderTextPropertyInfo = "placeholder-text"
type AttrOrigin CellRendererTextPlaceholderTextPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextPlaceholderText
attrSet _ = setCellRendererTextPlaceholderText
attrConstruct _ = constructCellRendererTextPlaceholderText
attrClear _ = clearCellRendererTextPlaceholderText
#endif
getCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> m Int32
getCellRendererTextRise obj = liftIO $ getObjectPropertyInt32 obj "rise"
setCellRendererTextRise :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
setCellRendererTextRise obj val = liftIO $ setObjectPropertyInt32 obj "rise" val
constructCellRendererTextRise :: (IsCellRendererText o) => Int32 -> IO (GValueConstruct o)
constructCellRendererTextRise val = constructObjectPropertyInt32 "rise" val
#if ENABLE_OVERLOADING
data CellRendererTextRisePropertyInfo
instance AttrInfo CellRendererTextRisePropertyInfo where
type AttrAllowedOps CellRendererTextRisePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextRisePropertyInfo = (~) Int32
type AttrBaseTypeConstraint CellRendererTextRisePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextRisePropertyInfo = Int32
type AttrLabel CellRendererTextRisePropertyInfo = "rise"
type AttrOrigin CellRendererTextRisePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextRise
attrSet _ = setCellRendererTextRise
attrConstruct _ = constructCellRendererTextRise
attrClear _ = undefined
#endif
getCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextRiseSet obj = liftIO $ getObjectPropertyBool obj "rise-set"
setCellRendererTextRiseSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextRiseSet obj val = liftIO $ setObjectPropertyBool obj "rise-set" val
constructCellRendererTextRiseSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextRiseSet val = constructObjectPropertyBool "rise-set" val
#if ENABLE_OVERLOADING
data CellRendererTextRiseSetPropertyInfo
instance AttrInfo CellRendererTextRiseSetPropertyInfo where
type AttrAllowedOps CellRendererTextRiseSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextRiseSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextRiseSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextRiseSetPropertyInfo = Bool
type AttrLabel CellRendererTextRiseSetPropertyInfo = "rise-set"
type AttrOrigin CellRendererTextRiseSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextRiseSet
attrSet _ = setCellRendererTextRiseSet
attrConstruct _ = constructCellRendererTextRiseSet
attrClear _ = undefined
#endif
getCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> m Double
getCellRendererTextScale obj = liftIO $ getObjectPropertyDouble obj "scale"
setCellRendererTextScale :: (MonadIO m, IsCellRendererText o) => o -> Double -> m ()
setCellRendererTextScale obj val = liftIO $ setObjectPropertyDouble obj "scale" val
constructCellRendererTextScale :: (IsCellRendererText o) => Double -> IO (GValueConstruct o)
constructCellRendererTextScale val = constructObjectPropertyDouble "scale" val
#if ENABLE_OVERLOADING
data CellRendererTextScalePropertyInfo
instance AttrInfo CellRendererTextScalePropertyInfo where
type AttrAllowedOps CellRendererTextScalePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextScalePropertyInfo = (~) Double
type AttrBaseTypeConstraint CellRendererTextScalePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextScalePropertyInfo = Double
type AttrLabel CellRendererTextScalePropertyInfo = "scale"
type AttrOrigin CellRendererTextScalePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextScale
attrSet _ = setCellRendererTextScale
attrConstruct _ = constructCellRendererTextScale
attrClear _ = undefined
#endif
getCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextScaleSet obj = liftIO $ getObjectPropertyBool obj "scale-set"
setCellRendererTextScaleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextScaleSet obj val = liftIO $ setObjectPropertyBool obj "scale-set" val
constructCellRendererTextScaleSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextScaleSet val = constructObjectPropertyBool "scale-set" val
#if ENABLE_OVERLOADING
data CellRendererTextScaleSetPropertyInfo
instance AttrInfo CellRendererTextScaleSetPropertyInfo where
type AttrAllowedOps CellRendererTextScaleSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextScaleSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextScaleSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextScaleSetPropertyInfo = Bool
type AttrLabel CellRendererTextScaleSetPropertyInfo = "scale-set"
type AttrOrigin CellRendererTextScaleSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextScaleSet
attrSet _ = setCellRendererTextScaleSet
attrConstruct _ = constructCellRendererTextScaleSet
attrClear _ = undefined
#endif
getCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextSingleParagraphMode obj = liftIO $ getObjectPropertyBool obj "single-paragraph-mode"
setCellRendererTextSingleParagraphMode :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextSingleParagraphMode obj val = liftIO $ setObjectPropertyBool obj "single-paragraph-mode" val
constructCellRendererTextSingleParagraphMode :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextSingleParagraphMode val = constructObjectPropertyBool "single-paragraph-mode" val
#if ENABLE_OVERLOADING
data CellRendererTextSingleParagraphModePropertyInfo
instance AttrInfo CellRendererTextSingleParagraphModePropertyInfo where
type AttrAllowedOps CellRendererTextSingleParagraphModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextSingleParagraphModePropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextSingleParagraphModePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextSingleParagraphModePropertyInfo = Bool
type AttrLabel CellRendererTextSingleParagraphModePropertyInfo = "single-paragraph-mode"
type AttrOrigin CellRendererTextSingleParagraphModePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextSingleParagraphMode
attrSet _ = setCellRendererTextSingleParagraphMode
attrConstruct _ = constructCellRendererTextSingleParagraphMode
attrClear _ = undefined
#endif
getCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> m Int32
getCellRendererTextSize obj = liftIO $ getObjectPropertyInt32 obj "size"
setCellRendererTextSize :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
setCellRendererTextSize obj val = liftIO $ setObjectPropertyInt32 obj "size" val
constructCellRendererTextSize :: (IsCellRendererText o) => Int32 -> IO (GValueConstruct o)
constructCellRendererTextSize val = constructObjectPropertyInt32 "size" val
#if ENABLE_OVERLOADING
data CellRendererTextSizePropertyInfo
instance AttrInfo CellRendererTextSizePropertyInfo where
type AttrAllowedOps CellRendererTextSizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextSizePropertyInfo = (~) Int32
type AttrBaseTypeConstraint CellRendererTextSizePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextSizePropertyInfo = Int32
type AttrLabel CellRendererTextSizePropertyInfo = "size"
type AttrOrigin CellRendererTextSizePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextSize
attrSet _ = setCellRendererTextSize
attrConstruct _ = constructCellRendererTextSize
attrClear _ = undefined
#endif
getCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> m Double
getCellRendererTextSizePoints obj = liftIO $ getObjectPropertyDouble obj "size-points"
setCellRendererTextSizePoints :: (MonadIO m, IsCellRendererText o) => o -> Double -> m ()
setCellRendererTextSizePoints obj val = liftIO $ setObjectPropertyDouble obj "size-points" val
constructCellRendererTextSizePoints :: (IsCellRendererText o) => Double -> IO (GValueConstruct o)
constructCellRendererTextSizePoints val = constructObjectPropertyDouble "size-points" val
#if ENABLE_OVERLOADING
data CellRendererTextSizePointsPropertyInfo
instance AttrInfo CellRendererTextSizePointsPropertyInfo where
type AttrAllowedOps CellRendererTextSizePointsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextSizePointsPropertyInfo = (~) Double
type AttrBaseTypeConstraint CellRendererTextSizePointsPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextSizePointsPropertyInfo = Double
type AttrLabel CellRendererTextSizePointsPropertyInfo = "size-points"
type AttrOrigin CellRendererTextSizePointsPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextSizePoints
attrSet _ = setCellRendererTextSizePoints
attrConstruct _ = constructCellRendererTextSizePoints
attrClear _ = undefined
#endif
getCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextSizeSet obj = liftIO $ getObjectPropertyBool obj "size-set"
setCellRendererTextSizeSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextSizeSet obj val = liftIO $ setObjectPropertyBool obj "size-set" val
constructCellRendererTextSizeSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextSizeSet val = constructObjectPropertyBool "size-set" val
#if ENABLE_OVERLOADING
data CellRendererTextSizeSetPropertyInfo
instance AttrInfo CellRendererTextSizeSetPropertyInfo where
type AttrAllowedOps CellRendererTextSizeSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextSizeSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextSizeSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextSizeSetPropertyInfo = Bool
type AttrLabel CellRendererTextSizeSetPropertyInfo = "size-set"
type AttrOrigin CellRendererTextSizeSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextSizeSet
attrSet _ = setCellRendererTextSizeSet
attrConstruct _ = constructCellRendererTextSizeSet
attrClear _ = undefined
#endif
getCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.Stretch
getCellRendererTextStretch obj = liftIO $ getObjectPropertyEnum obj "stretch"
setCellRendererTextStretch :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.Stretch -> m ()
setCellRendererTextStretch obj val = liftIO $ setObjectPropertyEnum obj "stretch" val
constructCellRendererTextStretch :: (IsCellRendererText o) => Pango.Enums.Stretch -> IO (GValueConstruct o)
constructCellRendererTextStretch val = constructObjectPropertyEnum "stretch" val
#if ENABLE_OVERLOADING
data CellRendererTextStretchPropertyInfo
instance AttrInfo CellRendererTextStretchPropertyInfo where
type AttrAllowedOps CellRendererTextStretchPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextStretchPropertyInfo = (~) Pango.Enums.Stretch
type AttrBaseTypeConstraint CellRendererTextStretchPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextStretchPropertyInfo = Pango.Enums.Stretch
type AttrLabel CellRendererTextStretchPropertyInfo = "stretch"
type AttrOrigin CellRendererTextStretchPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextStretch
attrSet _ = setCellRendererTextStretch
attrConstruct _ = constructCellRendererTextStretch
attrClear _ = undefined
#endif
getCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextStretchSet obj = liftIO $ getObjectPropertyBool obj "stretch-set"
setCellRendererTextStretchSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextStretchSet obj val = liftIO $ setObjectPropertyBool obj "stretch-set" val
constructCellRendererTextStretchSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextStretchSet val = constructObjectPropertyBool "stretch-set" val
#if ENABLE_OVERLOADING
data CellRendererTextStretchSetPropertyInfo
instance AttrInfo CellRendererTextStretchSetPropertyInfo where
type AttrAllowedOps CellRendererTextStretchSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextStretchSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextStretchSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextStretchSetPropertyInfo = Bool
type AttrLabel CellRendererTextStretchSetPropertyInfo = "stretch-set"
type AttrOrigin CellRendererTextStretchSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextStretchSet
attrSet _ = setCellRendererTextStretchSet
attrConstruct _ = constructCellRendererTextStretchSet
attrClear _ = undefined
#endif
getCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextStrikethrough obj = liftIO $ getObjectPropertyBool obj "strikethrough"
setCellRendererTextStrikethrough :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextStrikethrough obj val = liftIO $ setObjectPropertyBool obj "strikethrough" val
constructCellRendererTextStrikethrough :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextStrikethrough val = constructObjectPropertyBool "strikethrough" val
#if ENABLE_OVERLOADING
data CellRendererTextStrikethroughPropertyInfo
instance AttrInfo CellRendererTextStrikethroughPropertyInfo where
type AttrAllowedOps CellRendererTextStrikethroughPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextStrikethroughPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextStrikethroughPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextStrikethroughPropertyInfo = Bool
type AttrLabel CellRendererTextStrikethroughPropertyInfo = "strikethrough"
type AttrOrigin CellRendererTextStrikethroughPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextStrikethrough
attrSet _ = setCellRendererTextStrikethrough
attrConstruct _ = constructCellRendererTextStrikethrough
attrClear _ = undefined
#endif
getCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextStrikethroughSet obj = liftIO $ getObjectPropertyBool obj "strikethrough-set"
setCellRendererTextStrikethroughSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextStrikethroughSet obj val = liftIO $ setObjectPropertyBool obj "strikethrough-set" val
constructCellRendererTextStrikethroughSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextStrikethroughSet val = constructObjectPropertyBool "strikethrough-set" val
#if ENABLE_OVERLOADING
data CellRendererTextStrikethroughSetPropertyInfo
instance AttrInfo CellRendererTextStrikethroughSetPropertyInfo where
type AttrAllowedOps CellRendererTextStrikethroughSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextStrikethroughSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextStrikethroughSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextStrikethroughSetPropertyInfo = Bool
type AttrLabel CellRendererTextStrikethroughSetPropertyInfo = "strikethrough-set"
type AttrOrigin CellRendererTextStrikethroughSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextStrikethroughSet
attrSet _ = setCellRendererTextStrikethroughSet
attrConstruct _ = constructCellRendererTextStrikethroughSet
attrClear _ = undefined
#endif
getCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.Style
getCellRendererTextStyle obj = liftIO $ getObjectPropertyEnum obj "style"
setCellRendererTextStyle :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.Style -> m ()
setCellRendererTextStyle obj val = liftIO $ setObjectPropertyEnum obj "style" val
constructCellRendererTextStyle :: (IsCellRendererText o) => Pango.Enums.Style -> IO (GValueConstruct o)
constructCellRendererTextStyle val = constructObjectPropertyEnum "style" val
#if ENABLE_OVERLOADING
data CellRendererTextStylePropertyInfo
instance AttrInfo CellRendererTextStylePropertyInfo where
type AttrAllowedOps CellRendererTextStylePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextStylePropertyInfo = (~) Pango.Enums.Style
type AttrBaseTypeConstraint CellRendererTextStylePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextStylePropertyInfo = Pango.Enums.Style
type AttrLabel CellRendererTextStylePropertyInfo = "style"
type AttrOrigin CellRendererTextStylePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextStyle
attrSet _ = setCellRendererTextStyle
attrConstruct _ = constructCellRendererTextStyle
attrClear _ = undefined
#endif
getCellRendererTextStyleSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextStyleSet obj = liftIO $ getObjectPropertyBool obj "style-set"
setCellRendererTextStyleSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextStyleSet obj val = liftIO $ setObjectPropertyBool obj "style-set" val
constructCellRendererTextStyleSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextStyleSet val = constructObjectPropertyBool "style-set" val
#if ENABLE_OVERLOADING
data CellRendererTextStyleSetPropertyInfo
instance AttrInfo CellRendererTextStyleSetPropertyInfo where
type AttrAllowedOps CellRendererTextStyleSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextStyleSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextStyleSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextStyleSetPropertyInfo = Bool
type AttrLabel CellRendererTextStyleSetPropertyInfo = "style-set"
type AttrOrigin CellRendererTextStyleSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextStyleSet
attrSet _ = setCellRendererTextStyleSet
attrConstruct _ = constructCellRendererTextStyleSet
attrClear _ = undefined
#endif
getCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m (Maybe T.Text)
getCellRendererTextText obj = liftIO $ getObjectPropertyString obj "text"
setCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> T.Text -> m ()
setCellRendererTextText obj val = liftIO $ setObjectPropertyString obj "text" (Just val)
constructCellRendererTextText :: (IsCellRendererText o) => T.Text -> IO (GValueConstruct o)
constructCellRendererTextText val = constructObjectPropertyString "text" (Just val)
clearCellRendererTextText :: (MonadIO m, IsCellRendererText o) => o -> m ()
clearCellRendererTextText obj = liftIO $ setObjectPropertyString obj "text" (Nothing :: Maybe T.Text)
#if ENABLE_OVERLOADING
data CellRendererTextTextPropertyInfo
instance AttrInfo CellRendererTextTextPropertyInfo where
type AttrAllowedOps CellRendererTextTextPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint CellRendererTextTextPropertyInfo = (~) T.Text
type AttrBaseTypeConstraint CellRendererTextTextPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextTextPropertyInfo = (Maybe T.Text)
type AttrLabel CellRendererTextTextPropertyInfo = "text"
type AttrOrigin CellRendererTextTextPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextText
attrSet _ = setCellRendererTextText
attrConstruct _ = constructCellRendererTextText
attrClear _ = clearCellRendererTextText
#endif
getCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.Underline
getCellRendererTextUnderline obj = liftIO $ getObjectPropertyEnum obj "underline"
setCellRendererTextUnderline :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.Underline -> m ()
setCellRendererTextUnderline obj val = liftIO $ setObjectPropertyEnum obj "underline" val
constructCellRendererTextUnderline :: (IsCellRendererText o) => Pango.Enums.Underline -> IO (GValueConstruct o)
constructCellRendererTextUnderline val = constructObjectPropertyEnum "underline" val
#if ENABLE_OVERLOADING
data CellRendererTextUnderlinePropertyInfo
instance AttrInfo CellRendererTextUnderlinePropertyInfo where
type AttrAllowedOps CellRendererTextUnderlinePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextUnderlinePropertyInfo = (~) Pango.Enums.Underline
type AttrBaseTypeConstraint CellRendererTextUnderlinePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextUnderlinePropertyInfo = Pango.Enums.Underline
type AttrLabel CellRendererTextUnderlinePropertyInfo = "underline"
type AttrOrigin CellRendererTextUnderlinePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextUnderline
attrSet _ = setCellRendererTextUnderline
attrConstruct _ = constructCellRendererTextUnderline
attrClear _ = undefined
#endif
getCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextUnderlineSet obj = liftIO $ getObjectPropertyBool obj "underline-set"
setCellRendererTextUnderlineSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextUnderlineSet obj val = liftIO $ setObjectPropertyBool obj "underline-set" val
constructCellRendererTextUnderlineSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextUnderlineSet val = constructObjectPropertyBool "underline-set" val
#if ENABLE_OVERLOADING
data CellRendererTextUnderlineSetPropertyInfo
instance AttrInfo CellRendererTextUnderlineSetPropertyInfo where
type AttrAllowedOps CellRendererTextUnderlineSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextUnderlineSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextUnderlineSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextUnderlineSetPropertyInfo = Bool
type AttrLabel CellRendererTextUnderlineSetPropertyInfo = "underline-set"
type AttrOrigin CellRendererTextUnderlineSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextUnderlineSet
attrSet _ = setCellRendererTextUnderlineSet
attrConstruct _ = constructCellRendererTextUnderlineSet
attrClear _ = undefined
#endif
getCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.Variant
getCellRendererTextVariant obj = liftIO $ getObjectPropertyEnum obj "variant"
setCellRendererTextVariant :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.Variant -> m ()
setCellRendererTextVariant obj val = liftIO $ setObjectPropertyEnum obj "variant" val
constructCellRendererTextVariant :: (IsCellRendererText o) => Pango.Enums.Variant -> IO (GValueConstruct o)
constructCellRendererTextVariant val = constructObjectPropertyEnum "variant" val
#if ENABLE_OVERLOADING
data CellRendererTextVariantPropertyInfo
instance AttrInfo CellRendererTextVariantPropertyInfo where
type AttrAllowedOps CellRendererTextVariantPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextVariantPropertyInfo = (~) Pango.Enums.Variant
type AttrBaseTypeConstraint CellRendererTextVariantPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextVariantPropertyInfo = Pango.Enums.Variant
type AttrLabel CellRendererTextVariantPropertyInfo = "variant"
type AttrOrigin CellRendererTextVariantPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextVariant
attrSet _ = setCellRendererTextVariant
attrConstruct _ = constructCellRendererTextVariant
attrClear _ = undefined
#endif
getCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextVariantSet obj = liftIO $ getObjectPropertyBool obj "variant-set"
setCellRendererTextVariantSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextVariantSet obj val = liftIO $ setObjectPropertyBool obj "variant-set" val
constructCellRendererTextVariantSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextVariantSet val = constructObjectPropertyBool "variant-set" val
#if ENABLE_OVERLOADING
data CellRendererTextVariantSetPropertyInfo
instance AttrInfo CellRendererTextVariantSetPropertyInfo where
type AttrAllowedOps CellRendererTextVariantSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextVariantSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextVariantSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextVariantSetPropertyInfo = Bool
type AttrLabel CellRendererTextVariantSetPropertyInfo = "variant-set"
type AttrOrigin CellRendererTextVariantSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextVariantSet
attrSet _ = setCellRendererTextVariantSet
attrConstruct _ = constructCellRendererTextVariantSet
attrClear _ = undefined
#endif
getCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> m Int32
getCellRendererTextWeight obj = liftIO $ getObjectPropertyInt32 obj "weight"
setCellRendererTextWeight :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
setCellRendererTextWeight obj val = liftIO $ setObjectPropertyInt32 obj "weight" val
constructCellRendererTextWeight :: (IsCellRendererText o) => Int32 -> IO (GValueConstruct o)
constructCellRendererTextWeight val = constructObjectPropertyInt32 "weight" val
#if ENABLE_OVERLOADING
data CellRendererTextWeightPropertyInfo
instance AttrInfo CellRendererTextWeightPropertyInfo where
type AttrAllowedOps CellRendererTextWeightPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextWeightPropertyInfo = (~) Int32
type AttrBaseTypeConstraint CellRendererTextWeightPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextWeightPropertyInfo = Int32
type AttrLabel CellRendererTextWeightPropertyInfo = "weight"
type AttrOrigin CellRendererTextWeightPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextWeight
attrSet _ = setCellRendererTextWeight
attrConstruct _ = constructCellRendererTextWeight
attrClear _ = undefined
#endif
getCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> m Bool
getCellRendererTextWeightSet obj = liftIO $ getObjectPropertyBool obj "weight-set"
setCellRendererTextWeightSet :: (MonadIO m, IsCellRendererText o) => o -> Bool -> m ()
setCellRendererTextWeightSet obj val = liftIO $ setObjectPropertyBool obj "weight-set" val
constructCellRendererTextWeightSet :: (IsCellRendererText o) => Bool -> IO (GValueConstruct o)
constructCellRendererTextWeightSet val = constructObjectPropertyBool "weight-set" val
#if ENABLE_OVERLOADING
data CellRendererTextWeightSetPropertyInfo
instance AttrInfo CellRendererTextWeightSetPropertyInfo where
type AttrAllowedOps CellRendererTextWeightSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextWeightSetPropertyInfo = (~) Bool
type AttrBaseTypeConstraint CellRendererTextWeightSetPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextWeightSetPropertyInfo = Bool
type AttrLabel CellRendererTextWeightSetPropertyInfo = "weight-set"
type AttrOrigin CellRendererTextWeightSetPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextWeightSet
attrSet _ = setCellRendererTextWeightSet
attrConstruct _ = constructCellRendererTextWeightSet
attrClear _ = undefined
#endif
getCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> m Int32
getCellRendererTextWidthChars obj = liftIO $ getObjectPropertyInt32 obj "width-chars"
setCellRendererTextWidthChars :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
setCellRendererTextWidthChars obj val = liftIO $ setObjectPropertyInt32 obj "width-chars" val
constructCellRendererTextWidthChars :: (IsCellRendererText o) => Int32 -> IO (GValueConstruct o)
constructCellRendererTextWidthChars val = constructObjectPropertyInt32 "width-chars" val
#if ENABLE_OVERLOADING
data CellRendererTextWidthCharsPropertyInfo
instance AttrInfo CellRendererTextWidthCharsPropertyInfo where
type AttrAllowedOps CellRendererTextWidthCharsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextWidthCharsPropertyInfo = (~) Int32
type AttrBaseTypeConstraint CellRendererTextWidthCharsPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextWidthCharsPropertyInfo = Int32
type AttrLabel CellRendererTextWidthCharsPropertyInfo = "width-chars"
type AttrOrigin CellRendererTextWidthCharsPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextWidthChars
attrSet _ = setCellRendererTextWidthChars
attrConstruct _ = constructCellRendererTextWidthChars
attrClear _ = undefined
#endif
getCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> m Pango.Enums.WrapMode
getCellRendererTextWrapMode obj = liftIO $ getObjectPropertyEnum obj "wrap-mode"
setCellRendererTextWrapMode :: (MonadIO m, IsCellRendererText o) => o -> Pango.Enums.WrapMode -> m ()
setCellRendererTextWrapMode obj val = liftIO $ setObjectPropertyEnum obj "wrap-mode" val
constructCellRendererTextWrapMode :: (IsCellRendererText o) => Pango.Enums.WrapMode -> IO (GValueConstruct o)
constructCellRendererTextWrapMode val = constructObjectPropertyEnum "wrap-mode" val
#if ENABLE_OVERLOADING
data CellRendererTextWrapModePropertyInfo
instance AttrInfo CellRendererTextWrapModePropertyInfo where
type AttrAllowedOps CellRendererTextWrapModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextWrapModePropertyInfo = (~) Pango.Enums.WrapMode
type AttrBaseTypeConstraint CellRendererTextWrapModePropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextWrapModePropertyInfo = Pango.Enums.WrapMode
type AttrLabel CellRendererTextWrapModePropertyInfo = "wrap-mode"
type AttrOrigin CellRendererTextWrapModePropertyInfo = CellRendererText
attrGet _ = getCellRendererTextWrapMode
attrSet _ = setCellRendererTextWrapMode
attrConstruct _ = constructCellRendererTextWrapMode
attrClear _ = undefined
#endif
getCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> m Int32
getCellRendererTextWrapWidth obj = liftIO $ getObjectPropertyInt32 obj "wrap-width"
setCellRendererTextWrapWidth :: (MonadIO m, IsCellRendererText o) => o -> Int32 -> m ()
setCellRendererTextWrapWidth obj val = liftIO $ setObjectPropertyInt32 obj "wrap-width" val
constructCellRendererTextWrapWidth :: (IsCellRendererText o) => Int32 -> IO (GValueConstruct o)
constructCellRendererTextWrapWidth val = constructObjectPropertyInt32 "wrap-width" val
#if ENABLE_OVERLOADING
data CellRendererTextWrapWidthPropertyInfo
instance AttrInfo CellRendererTextWrapWidthPropertyInfo where
type AttrAllowedOps CellRendererTextWrapWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint CellRendererTextWrapWidthPropertyInfo = (~) Int32
type AttrBaseTypeConstraint CellRendererTextWrapWidthPropertyInfo = IsCellRendererText
type AttrGetType CellRendererTextWrapWidthPropertyInfo = Int32
type AttrLabel CellRendererTextWrapWidthPropertyInfo = "wrap-width"
type AttrOrigin CellRendererTextWrapWidthPropertyInfo = CellRendererText
attrGet _ = getCellRendererTextWrapWidth
attrSet _ = setCellRendererTextWrapWidth
attrConstruct _ = constructCellRendererTextWrapWidth
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList CellRendererText
type instance O.AttributeList CellRendererText = CellRendererTextAttributeList
type CellRendererTextAttributeList = ('[ '("alignSet", CellRendererTextAlignSetPropertyInfo), '("alignment", CellRendererTextAlignmentPropertyInfo), '("attributes", CellRendererTextAttributesPropertyInfo), '("background", CellRendererTextBackgroundPropertyInfo), '("backgroundGdk", CellRendererTextBackgroundGdkPropertyInfo), '("backgroundRgba", CellRendererTextBackgroundRgbaPropertyInfo), '("backgroundSet", CellRendererTextBackgroundSetPropertyInfo), '("cellBackground", Gtk.CellRenderer.CellRendererCellBackgroundPropertyInfo), '("cellBackgroundGdk", Gtk.CellRenderer.CellRendererCellBackgroundGdkPropertyInfo), '("cellBackgroundRgba", Gtk.CellRenderer.CellRendererCellBackgroundRgbaPropertyInfo), '("cellBackgroundSet", Gtk.CellRenderer.CellRendererCellBackgroundSetPropertyInfo), '("editable", CellRendererTextEditablePropertyInfo), '("editableSet", CellRendererTextEditableSetPropertyInfo), '("editing", Gtk.CellRenderer.CellRendererEditingPropertyInfo), '("ellipsize", CellRendererTextEllipsizePropertyInfo), '("ellipsizeSet", CellRendererTextEllipsizeSetPropertyInfo), '("family", CellRendererTextFamilyPropertyInfo), '("familySet", CellRendererTextFamilySetPropertyInfo), '("font", CellRendererTextFontPropertyInfo), '("fontDesc", CellRendererTextFontDescPropertyInfo), '("foreground", CellRendererTextForegroundPropertyInfo), '("foregroundGdk", CellRendererTextForegroundGdkPropertyInfo), '("foregroundRgba", CellRendererTextForegroundRgbaPropertyInfo), '("foregroundSet", CellRendererTextForegroundSetPropertyInfo), '("height", Gtk.CellRenderer.CellRendererHeightPropertyInfo), '("isExpanded", Gtk.CellRenderer.CellRendererIsExpandedPropertyInfo), '("isExpander", Gtk.CellRenderer.CellRendererIsExpanderPropertyInfo), '("language", CellRendererTextLanguagePropertyInfo), '("languageSet", CellRendererTextLanguageSetPropertyInfo), '("markup", CellRendererTextMarkupPropertyInfo), '("maxWidthChars", CellRendererTextMaxWidthCharsPropertyInfo), '("mode", Gtk.CellRenderer.CellRendererModePropertyInfo), '("placeholderText", CellRendererTextPlaceholderTextPropertyInfo), '("rise", CellRendererTextRisePropertyInfo), '("riseSet", CellRendererTextRiseSetPropertyInfo), '("scale", CellRendererTextScalePropertyInfo), '("scaleSet", CellRendererTextScaleSetPropertyInfo), '("sensitive", Gtk.CellRenderer.CellRendererSensitivePropertyInfo), '("singleParagraphMode", CellRendererTextSingleParagraphModePropertyInfo), '("size", CellRendererTextSizePropertyInfo), '("sizePoints", CellRendererTextSizePointsPropertyInfo), '("sizeSet", CellRendererTextSizeSetPropertyInfo), '("stretch", CellRendererTextStretchPropertyInfo), '("stretchSet", CellRendererTextStretchSetPropertyInfo), '("strikethrough", CellRendererTextStrikethroughPropertyInfo), '("strikethroughSet", CellRendererTextStrikethroughSetPropertyInfo), '("style", CellRendererTextStylePropertyInfo), '("styleSet", CellRendererTextStyleSetPropertyInfo), '("text", CellRendererTextTextPropertyInfo), '("underline", CellRendererTextUnderlinePropertyInfo), '("underlineSet", CellRendererTextUnderlineSetPropertyInfo), '("variant", CellRendererTextVariantPropertyInfo), '("variantSet", CellRendererTextVariantSetPropertyInfo), '("visible", Gtk.CellRenderer.CellRendererVisiblePropertyInfo), '("weight", CellRendererTextWeightPropertyInfo), '("weightSet", CellRendererTextWeightSetPropertyInfo), '("width", Gtk.CellRenderer.CellRendererWidthPropertyInfo), '("widthChars", CellRendererTextWidthCharsPropertyInfo), '("wrapMode", CellRendererTextWrapModePropertyInfo), '("wrapWidth", CellRendererTextWrapWidthPropertyInfo), '("xalign", Gtk.CellRenderer.CellRendererXalignPropertyInfo), '("xpad", Gtk.CellRenderer.CellRendererXpadPropertyInfo), '("yalign", Gtk.CellRenderer.CellRendererYalignPropertyInfo), '("ypad", Gtk.CellRenderer.CellRendererYpadPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
cellRendererTextAlignSet :: AttrLabelProxy "alignSet"
cellRendererTextAlignSet = AttrLabelProxy
cellRendererTextAlignment :: AttrLabelProxy "alignment"
cellRendererTextAlignment = AttrLabelProxy
cellRendererTextAttributes :: AttrLabelProxy "attributes"
cellRendererTextAttributes = AttrLabelProxy
cellRendererTextBackground :: AttrLabelProxy "background"
cellRendererTextBackground = AttrLabelProxy
cellRendererTextBackgroundGdk :: AttrLabelProxy "backgroundGdk"
cellRendererTextBackgroundGdk = AttrLabelProxy
cellRendererTextBackgroundRgba :: AttrLabelProxy "backgroundRgba"
cellRendererTextBackgroundRgba = AttrLabelProxy
cellRendererTextBackgroundSet :: AttrLabelProxy "backgroundSet"
cellRendererTextBackgroundSet = AttrLabelProxy
cellRendererTextEditable :: AttrLabelProxy "editable"
cellRendererTextEditable = AttrLabelProxy
cellRendererTextEditableSet :: AttrLabelProxy "editableSet"
cellRendererTextEditableSet = AttrLabelProxy
cellRendererTextEllipsize :: AttrLabelProxy "ellipsize"
cellRendererTextEllipsize = AttrLabelProxy
cellRendererTextEllipsizeSet :: AttrLabelProxy "ellipsizeSet"
cellRendererTextEllipsizeSet = AttrLabelProxy
cellRendererTextFamily :: AttrLabelProxy "family"
cellRendererTextFamily = AttrLabelProxy
cellRendererTextFamilySet :: AttrLabelProxy "familySet"
cellRendererTextFamilySet = AttrLabelProxy
cellRendererTextFont :: AttrLabelProxy "font"
cellRendererTextFont = AttrLabelProxy
cellRendererTextFontDesc :: AttrLabelProxy "fontDesc"
cellRendererTextFontDesc = AttrLabelProxy
cellRendererTextForeground :: AttrLabelProxy "foreground"
cellRendererTextForeground = AttrLabelProxy
cellRendererTextForegroundGdk :: AttrLabelProxy "foregroundGdk"
cellRendererTextForegroundGdk = AttrLabelProxy
cellRendererTextForegroundRgba :: AttrLabelProxy "foregroundRgba"
cellRendererTextForegroundRgba = AttrLabelProxy
cellRendererTextForegroundSet :: AttrLabelProxy "foregroundSet"
cellRendererTextForegroundSet = AttrLabelProxy
cellRendererTextLanguage :: AttrLabelProxy "language"
cellRendererTextLanguage = AttrLabelProxy
cellRendererTextLanguageSet :: AttrLabelProxy "languageSet"
cellRendererTextLanguageSet = AttrLabelProxy
cellRendererTextMarkup :: AttrLabelProxy "markup"
cellRendererTextMarkup = AttrLabelProxy
cellRendererTextMaxWidthChars :: AttrLabelProxy "maxWidthChars"
cellRendererTextMaxWidthChars = AttrLabelProxy
cellRendererTextPlaceholderText :: AttrLabelProxy "placeholderText"
cellRendererTextPlaceholderText = AttrLabelProxy
cellRendererTextRise :: AttrLabelProxy "rise"
cellRendererTextRise = AttrLabelProxy
cellRendererTextRiseSet :: AttrLabelProxy "riseSet"
cellRendererTextRiseSet = AttrLabelProxy
cellRendererTextScale :: AttrLabelProxy "scale"
cellRendererTextScale = AttrLabelProxy
cellRendererTextScaleSet :: AttrLabelProxy "scaleSet"
cellRendererTextScaleSet = AttrLabelProxy
cellRendererTextSingleParagraphMode :: AttrLabelProxy "singleParagraphMode"
cellRendererTextSingleParagraphMode = AttrLabelProxy
cellRendererTextSize :: AttrLabelProxy "size"
cellRendererTextSize = AttrLabelProxy
cellRendererTextSizePoints :: AttrLabelProxy "sizePoints"
cellRendererTextSizePoints = AttrLabelProxy
cellRendererTextSizeSet :: AttrLabelProxy "sizeSet"
cellRendererTextSizeSet = AttrLabelProxy
cellRendererTextStretch :: AttrLabelProxy "stretch"
cellRendererTextStretch = AttrLabelProxy
cellRendererTextStretchSet :: AttrLabelProxy "stretchSet"
cellRendererTextStretchSet = AttrLabelProxy
cellRendererTextStrikethrough :: AttrLabelProxy "strikethrough"
cellRendererTextStrikethrough = AttrLabelProxy
cellRendererTextStrikethroughSet :: AttrLabelProxy "strikethroughSet"
cellRendererTextStrikethroughSet = AttrLabelProxy
cellRendererTextStyle :: AttrLabelProxy "style"
cellRendererTextStyle = AttrLabelProxy
cellRendererTextStyleSet :: AttrLabelProxy "styleSet"
cellRendererTextStyleSet = AttrLabelProxy
cellRendererTextText :: AttrLabelProxy "text"
cellRendererTextText = AttrLabelProxy
cellRendererTextUnderline :: AttrLabelProxy "underline"
cellRendererTextUnderline = AttrLabelProxy
cellRendererTextUnderlineSet :: AttrLabelProxy "underlineSet"
cellRendererTextUnderlineSet = AttrLabelProxy
cellRendererTextVariant :: AttrLabelProxy "variant"
cellRendererTextVariant = AttrLabelProxy
cellRendererTextVariantSet :: AttrLabelProxy "variantSet"
cellRendererTextVariantSet = AttrLabelProxy
cellRendererTextWeight :: AttrLabelProxy "weight"
cellRendererTextWeight = AttrLabelProxy
cellRendererTextWeightSet :: AttrLabelProxy "weightSet"
cellRendererTextWeightSet = AttrLabelProxy
cellRendererTextWidthChars :: AttrLabelProxy "widthChars"
cellRendererTextWidthChars = AttrLabelProxy
cellRendererTextWrapMode :: AttrLabelProxy "wrapMode"
cellRendererTextWrapMode = AttrLabelProxy
cellRendererTextWrapWidth :: AttrLabelProxy "wrapWidth"
cellRendererTextWrapWidth = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
data CellRendererTextEditedSignalInfo
instance SignalInfo CellRendererTextEditedSignalInfo where
type HaskellCallbackType CellRendererTextEditedSignalInfo = CellRendererTextEditedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_CellRendererTextEditedCallback cb
cb'' <- mk_CellRendererTextEditedCallback cb'
connectSignalFunPtr obj "edited" cb'' connectMode
type instance O.SignalList CellRendererText = CellRendererTextSignalList
type CellRendererTextSignalList = ('[ '("edited", CellRendererTextEditedSignalInfo), '("editingCanceled", Gtk.CellRenderer.CellRendererEditingCanceledSignalInfo), '("editingStarted", Gtk.CellRenderer.CellRendererEditingStartedSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_cell_renderer_text_new" gtk_cell_renderer_text_new ::
IO (Ptr CellRendererText)
cellRendererTextNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m CellRendererText
cellRendererTextNew = liftIO $ do
result <- gtk_cell_renderer_text_new
checkUnexpectedReturnNULL "cellRendererTextNew" result
result' <- (newObject CellRendererText) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_cell_renderer_text_set_fixed_height_from_font" gtk_cell_renderer_text_set_fixed_height_from_font ::
Ptr CellRendererText ->
Int32 ->
IO ()
cellRendererTextSetFixedHeightFromFont ::
(B.CallStack.HasCallStack, MonadIO m, IsCellRendererText a) =>
a
-> Int32
-> m ()
cellRendererTextSetFixedHeightFromFont renderer numberOfRows = liftIO $ do
renderer' <- unsafeManagedPtrCastPtr renderer
gtk_cell_renderer_text_set_fixed_height_from_font renderer' numberOfRows
touchManagedPtr renderer
return ()
#if ENABLE_OVERLOADING
data CellRendererTextSetFixedHeightFromFontMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsCellRendererText a) => O.MethodInfo CellRendererTextSetFixedHeightFromFontMethodInfo a signature where
overloadedMethod _ = cellRendererTextSetFixedHeightFromFont
#endif