| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GtkSource.Objects.Gutter
Contents
Description
- 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
Constructors
| Gutter (ForeignPtr Gutter) |
Instances
| GObject Gutter Source | |
| ((~) * info (ResolveGutterMethod t Gutter), MethodInfo * info Gutter p) => IsLabelProxy t (Gutter -> p) Source | |
| type ParentTypes Gutter Source | |
| type AttributeList Gutter Source | |
| type SignalList Gutter Source |
class GObject o => GutterK o Source
Instances
| (GObject o, IsDescendantOf Gutter o) => GutterK o Source |
Methods
gutterGetPadding
data GutterGetPaddingMethodInfo Source
Instances
| ((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, GutterK a) => MethodInfo * GutterGetPaddingMethodInfo a signature Source |
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
Instances
| ((~) * signature (Int32 -> Int32 -> m (Maybe GutterRenderer)), MonadIO m, GutterK a) => MethodInfo * GutterGetRendererAtPosMethodInfo a signature Source |
gutterGetRendererAtPos :: (MonadIO m, GutterK a) => a -> Int32 -> Int32 -> m (Maybe GutterRenderer) Source
gutterGetWindow
data GutterGetWindowMethodInfo Source
Instances
| ((~) * signature (m Window), MonadIO m, GutterK a) => MethodInfo * GutterGetWindowMethodInfo a signature Source |
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
Instances
| ((~) * signature (b -> Int32 -> m Bool), MonadIO m, GutterK a, GutterRendererK b) => MethodInfo * GutterInsertMethodInfo a signature Source |
gutterInsert :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> Int32 -> m Bool Source
gutterQueueDraw
data GutterQueueDrawMethodInfo Source
Instances
| ((~) * signature (m ()), MonadIO m, GutterK a) => MethodInfo * GutterQueueDrawMethodInfo a signature Source |
gutterQueueDraw :: (MonadIO m, GutterK a) => a -> m () Source
gutterRemove
data GutterRemoveMethodInfo Source
Instances
| ((~) * signature (b -> m ()), MonadIO m, GutterK a, GutterRendererK b) => MethodInfo * GutterRemoveMethodInfo a signature Source |
gutterRemove :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> m () Source
gutterReorder
data GutterReorderMethodInfo Source
Instances
| ((~) * signature (b -> Int32 -> m ()), MonadIO m, GutterK a, GutterRendererK b) => MethodInfo * GutterReorderMethodInfo a signature Source |
gutterReorder :: (MonadIO m, GutterK a, GutterRendererK b) => a -> b -> Int32 -> m () Source
gutterSetPadding
data GutterSetPaddingMethodInfo Source
Instances
| ((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, GutterK a) => MethodInfo * GutterSetPaddingMethodInfo a signature Source |
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
Instances
| AttrInfo GutterViewPropertyInfo Source | |
| type AttrLabel GutterViewPropertyInfo = "view" Source | |
| type AttrGetType GutterViewPropertyInfo = Maybe View Source | |
| type AttrBaseTypeConstraint GutterViewPropertyInfo = GutterK Source | |
| type AttrSetTypeConstraint GutterViewPropertyInfo = ViewK Source | |
| type AttrAllowedOps GutterViewPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) Source |
gutterView :: AttrLabelProxy "view" Source
WindowType
data GutterWindowTypePropertyInfo Source
Instances
| AttrInfo GutterWindowTypePropertyInfo Source | |
| type AttrLabel GutterWindowTypePropertyInfo = "window-type" Source | |
| type AttrGetType GutterWindowTypePropertyInfo = TextWindowType Source | |
| type AttrBaseTypeConstraint GutterWindowTypePropertyInfo = GutterK Source | |
| type AttrSetTypeConstraint GutterWindowTypePropertyInfo = * ~ TextWindowType Source | |
| type AttrAllowedOps GutterWindowTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) Source |
constructGutterWindowType :: TextWindowType -> IO ([Char], GValue) Source
getGutterWindowType :: (MonadIO m, GutterK o) => o -> m TextWindowType Source
gutterWindowType :: AttrLabelProxy "windowType" Source
Xpad
data GutterXpadPropertyInfo Source
Instances
| AttrInfo GutterXpadPropertyInfo Source | |
| type AttrLabel GutterXpadPropertyInfo = "xpad" Source | |
| type AttrGetType GutterXpadPropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint GutterXpadPropertyInfo = GutterK Source | |
| type AttrSetTypeConstraint GutterXpadPropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps GutterXpadPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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
Instances
| AttrInfo GutterYpadPropertyInfo Source | |
| type AttrLabel GutterYpadPropertyInfo = "ypad" Source | |
| type AttrGetType GutterYpadPropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint GutterYpadPropertyInfo = GutterK Source | |
| type AttrSetTypeConstraint GutterYpadPropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps GutterYpadPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getGutterYpad :: (MonadIO m, GutterK o) => o -> m Int32 Source
gutterYpad :: AttrLabelProxy "ypad" Source
setGutterYpad :: (MonadIO m, GutterK o) => o -> Int32 -> m () Source