| 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 (ManagedPtr Gutter)
- class GObject o => IsGutter o
- toGutter :: (MonadIO m, IsGutter o) => o -> m Gutter
- noGutter :: Maybe Gutter
- gutterGetPadding :: (HasCallStack, MonadIO m, IsGutter a) => a -> Int32 -> Int32 -> m ()
- gutterGetRendererAtPos :: (HasCallStack, MonadIO m, IsGutter a) => a -> Int32 -> Int32 -> m (Maybe GutterRenderer)
- gutterGetView :: (HasCallStack, MonadIO m, IsGutter a) => a -> m View
- gutterGetWindow :: (HasCallStack, MonadIO m, IsGutter a) => a -> m Window
- gutterGetWindowType :: (HasCallStack, MonadIO m, IsGutter a) => a -> m TextWindowType
- gutterInsert :: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) => a -> b -> Int32 -> m Bool
- gutterQueueDraw :: (HasCallStack, MonadIO m, IsGutter a) => a -> m ()
- gutterRemove :: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) => a -> b -> m ()
- gutterReorder :: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) => a -> b -> Int32 -> m ()
- gutterSetPadding :: (HasCallStack, MonadIO m, IsGutter a) => a -> Int32 -> Int32 -> m ()
- constructGutterView :: (IsGutter o, IsView a) => a -> IO (GValueConstruct o)
- getGutterView :: (MonadIO m, IsGutter o) => o -> m View
- constructGutterWindowType :: IsGutter o => TextWindowType -> IO (GValueConstruct o)
- getGutterWindowType :: (MonadIO m, IsGutter o) => o -> m TextWindowType
- constructGutterXpad :: IsGutter o => Int32 -> IO (GValueConstruct o)
- getGutterXpad :: (MonadIO m, IsGutter o) => o -> m Int32
- setGutterXpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m ()
- constructGutterYpad :: IsGutter o => Int32 -> IO (GValueConstruct o)
- getGutterYpad :: (MonadIO m, IsGutter o) => o -> m Int32
- setGutterYpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m ()
Exported types
Constructors
| Gutter (ManagedPtr Gutter) |
Methods
getPadding
gutterGetPadding :: (HasCallStack, MonadIO m, IsGutter a) => a -> Int32 -> Int32 -> m () Source #
Deprecated: (Since version 3.12)Use gutterRendererGetPadding instead.
No description available in the introspection data.
getRendererAtPos
gutterGetRendererAtPos Source #
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a) | |
| => a |
|
| -> Int32 |
|
| -> Int32 |
|
| -> m (Maybe GutterRenderer) | Returns: the renderer at (x, y) or |
Finds the GutterRenderer at (x, y).
getView
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a) | |
| => a |
|
| -> m View | Returns: the associated |
No description available in the introspection data.
Since: 3.24
getWindow
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a) | |
| => a |
|
| -> m Window | Returns: the |
Deprecated: (Since version 3.12)Use textViewGetWindow instead.
Get the Window of the gutter. The window will only be available when the
gutter has at least one, non-zero width, cell renderer packed.
Since: 2.8
getWindowType
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a) | |
| => a |
|
| -> m TextWindowType | Returns: the |
No description available in the introspection data.
Since: 3.24
insert
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) | |
| => a |
|
| -> b |
|
| -> Int32 |
|
| -> m Bool |
Insert renderer into the gutter. If renderer is yet unowned then gutter
claims its ownership. Otherwise just increases renderer's reference count.
renderer cannot be already inserted to another gutter.
Since: 3.0
queueDraw
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a) | |
| => a |
|
| -> m () |
Invalidates the drawable area of the gutter. You can use this to force a redraw of the gutter if something has changed and needs to be redrawn.
Since: 2.8
remove
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) | |
| => a |
|
| -> b |
|
| -> m () |
Removes renderer from gutter.
Since: 2.8
reorder
Arguments
| :: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) | |
| => a |
|
| -> b |
|
| -> Int32 |
|
| -> m () |
Reorders renderer in gutter to new position.
Since: 2.8
setPadding
gutterSetPadding :: (HasCallStack, MonadIO m, IsGutter a) => a -> Int32 -> Int32 -> m () Source #
Deprecated: (Since version 3.12)Use gutterRendererSetPadding instead.
No description available in the introspection data.
Properties
view
constructGutterView :: (IsGutter o, IsView a) => a -> IO (GValueConstruct o) Source #
windowType
constructGutterWindowType :: IsGutter o => TextWindowType -> IO (GValueConstruct o) Source #
getGutterWindowType :: (MonadIO m, IsGutter o) => o -> m TextWindowType Source #
xpad
constructGutterXpad :: IsGutter o => Int32 -> IO (GValueConstruct o) Source #
ypad
constructGutterYpad :: IsGutter o => Int32 -> IO (GValueConstruct o) Source #