Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Gutter = Gutter (ForeignPtr Gutter)
- class GObject o => GutterK o
- toGutter :: GutterK o => o -> IO Gutter
- noGutter :: Maybe Gutter
- data GutterGetPaddingMethodInfo
- gutterGetPadding :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m ()
- data GutterGetRendererAtPosMethodInfo
- gutterGetRendererAtPos :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m (Maybe GutterRenderer)
- data GutterGetWindowMethodInfo
- gutterGetWindow :: (MonadIO m, GutterK a) => a -> m Window
- data GutterInsertMethodInfo
- gutterInsert :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> Int32 -> m Bool
- data GutterQueueDrawMethodInfo
- gutterQueueDraw :: (MonadIO m, GutterK a) => a -> m ()
- data GutterRemoveMethodInfo
- gutterRemove :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> m ()
- data GutterReorderMethodInfo
- gutterReorder :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> Int32 -> m ()
- data GutterSetPaddingMethodInfo
- gutterSetPadding :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m ()
- data GutterViewPropertyInfo
- constructGutterView :: ViewK a => a -> IO ([Char], GValue)
- getGutterView :: (MonadIO m, GutterK o) => o -> m (Maybe View)
- gutterView :: AttrLabelProxy "view"
- data GutterWindowTypePropertyInfo
- constructGutterWindowType :: TextWindowType -> IO ([Char], GValue)
- getGutterWindowType :: (MonadIO m, GutterK o) => o -> m TextWindowType
- gutterWindowType :: AttrLabelProxy "windowType"
- data GutterXpadPropertyInfo
- constructGutterXpad :: Int32 -> IO ([Char], GValue)
- getGutterXpad :: (MonadIO m, GutterK o) => o -> m Int32
- gutterXpad :: AttrLabelProxy "xpad"
- setGutterXpad :: (MonadIO m, GutterK o) => o -> Int32 -> m ()
- data GutterYpadPropertyInfo
- constructGutterYpad :: Int32 -> IO ([Char], GValue)
- getGutterYpad :: (MonadIO m, GutterK o) => o -> m Int32
- gutterYpad :: AttrLabelProxy "ypad"
- setGutterYpad :: (MonadIO m, GutterK o) => o -> Int32 -> m ()
Exported types
GObject Gutter | |
((~) * info (ResolveGutterMethod t Gutter), MethodInfo * info Gutter p) => IsLabelProxy t (Gutter -> p) | |
type ParentTypes Gutter | |
type AttributeList Gutter | |
type SignalList Gutter |
Methods
gutterGetPadding
data GutterGetPaddingMethodInfo Source
((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, GutterK a) => MethodInfo * GutterGetPaddingMethodInfo a signature |
gutterGetPadding :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m () Source
Deprecated: (Since version 3.12)Use gtk_source_gutter_renderer_get_padding() instead.
gutterGetRendererAtPos
data GutterGetRendererAtPosMethodInfo Source
((~) * signature (Int32 -> Int32 -> m (Maybe GutterRenderer)), MonadIO m, GutterK a) => MethodInfo * GutterGetRendererAtPosMethodInfo a signature |
gutterGetRendererAtPos :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m (Maybe GutterRenderer) Source
gutterGetWindow
data GutterGetWindowMethodInfo Source
((~) * signature (m Window), MonadIO m, GutterK a) => MethodInfo * GutterGetWindowMethodInfo a signature |
gutterGetWindow :: (MonadIO m, GutterK a) => a -> m Window Source
Deprecated: (Since version 3.12)Use gtk_text_view_get_window() instead.
gutterInsert
data GutterInsertMethodInfo Source
((~) * signature (b -> Int32 -> m Bool), MonadIO m, GutterK a, GutterRendererK b) => MethodInfo * GutterInsertMethodInfo a signature |
gutterInsert :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> Int32 -> m Bool Source
gutterQueueDraw
data GutterQueueDrawMethodInfo Source
((~) * signature (m ()), MonadIO m, GutterK a) => MethodInfo * GutterQueueDrawMethodInfo a signature |
gutterQueueDraw :: (MonadIO m, GutterK a) => a -> m () Source
gutterRemove
data GutterRemoveMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, GutterK a, GutterRendererK b) => MethodInfo * GutterRemoveMethodInfo a signature |
gutterRemove :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> m () Source
gutterReorder
data GutterReorderMethodInfo Source
((~) * signature (b -> Int32 -> m ()), MonadIO m, GutterK a, GutterRendererK b) => MethodInfo * GutterReorderMethodInfo a signature |
gutterReorder :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> Int32 -> m () Source
gutterSetPadding
data GutterSetPaddingMethodInfo Source
((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, GutterK a) => MethodInfo * GutterSetPaddingMethodInfo a signature |
gutterSetPadding :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m () Source
Deprecated: (Since version 3.12)Use gtk_source_gutter_renderer_set_padding() instead.
Properties
View
data GutterViewPropertyInfo Source
AttrInfo GutterViewPropertyInfo | |
type AttrLabel GutterViewPropertyInfo = "view" | |
type AttrGetType GutterViewPropertyInfo = Maybe View | |
type AttrBaseTypeConstraint GutterViewPropertyInfo = GutterK | |
type AttrSetTypeConstraint GutterViewPropertyInfo = ViewK | |
type AttrAllowedOps GutterViewPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
gutterView :: AttrLabelProxy "view" Source
WindowType
data GutterWindowTypePropertyInfo Source
AttrInfo GutterWindowTypePropertyInfo | |
type AttrLabel GutterWindowTypePropertyInfo = "window-type" | |
type AttrGetType GutterWindowTypePropertyInfo = TextWindowType | |
type AttrBaseTypeConstraint GutterWindowTypePropertyInfo = GutterK | |
type AttrSetTypeConstraint GutterWindowTypePropertyInfo = * ~ TextWindowType | |
type AttrAllowedOps GutterWindowTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
constructGutterWindowType :: TextWindowType -> IO ([Char], GValue) Source
getGutterWindowType :: (MonadIO m, GutterK o) => o -> m TextWindowType Source
gutterWindowType :: AttrLabelProxy "windowType" Source
Xpad
data GutterXpadPropertyInfo Source
AttrInfo GutterXpadPropertyInfo | |
type AttrLabel GutterXpadPropertyInfo = "xpad" | |
type AttrGetType GutterXpadPropertyInfo = Int32 | |
type AttrBaseTypeConstraint GutterXpadPropertyInfo = GutterK | |
type AttrSetTypeConstraint GutterXpadPropertyInfo = * ~ Int32 | |
type AttrAllowedOps GutterXpadPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getGutterXpad :: (MonadIO m, GutterK o) => o -> m Int32 Source
gutterXpad :: AttrLabelProxy "xpad" Source
setGutterXpad :: (MonadIO m, GutterK o) => o -> Int32 -> m () Source
Ypad
data GutterYpadPropertyInfo Source
AttrInfo GutterYpadPropertyInfo | |
type AttrLabel GutterYpadPropertyInfo = "ypad" | |
type AttrGetType GutterYpadPropertyInfo = Int32 | |
type AttrBaseTypeConstraint GutterYpadPropertyInfo = GutterK | |
type AttrSetTypeConstraint GutterYpadPropertyInfo = * ~ Int32 | |
type AttrAllowedOps GutterYpadPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getGutterYpad :: (MonadIO m, GutterK o) => o -> m Int32 Source
gutterYpad :: AttrLabelProxy "ypad" Source
setGutterYpad :: (MonadIO m, GutterK o) => o -> Int32 -> m () Source