| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.GtkSource.Objects.Gutter
Description
No description available in the introspection data.
Synopsis
- newtype Gutter = Gutter (ManagedPtr Gutter)
- class (GObject o, IsDescendantOf Gutter o) => IsGutter o
- toGutter :: (MonadIO m, IsGutter o) => o -> m 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, MonadIO m, IsView a) => a -> m (GValueConstruct o)
- getGutterView :: (MonadIO m, IsGutter o) => o -> m View
- constructGutterWindowType :: (IsGutter o, MonadIO m) => TextWindowType -> m (GValueConstruct o)
- getGutterWindowType :: (MonadIO m, IsGutter o) => o -> m TextWindowType
- constructGutterXpad :: (IsGutter o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGutterXpad :: (MonadIO m, IsGutter o) => o -> m Int32
- setGutterXpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m ()
- constructGutterYpad :: (IsGutter o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getGutterYpad :: (MonadIO m, IsGutter o) => o -> m Int32
- setGutterYpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m ()
Exported types
Memory-managed wrapper type.
Instances
| Eq Gutter Source # | |
| GObject Gutter Source # | |
Defined in GI.GtkSource.Objects.Gutter | |
| ManagedPtrNewtype Gutter Source # | |
Defined in GI.GtkSource.Objects.Gutter Methods toManagedPtr :: Gutter -> ManagedPtr Gutter | |
| TypedObject Gutter Source # | |
Defined in GI.GtkSource.Objects.Gutter | |
| HasParentTypes Gutter Source # | |
Defined in GI.GtkSource.Objects.Gutter | |
| IsGValue (Maybe Gutter) Source # | Convert |
Defined in GI.GtkSource.Objects.Gutter Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Gutter -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Gutter) | |
| type ParentTypes Gutter Source # | |
Defined in GI.GtkSource.Objects.Gutter type ParentTypes Gutter = '[Object] | |
class (GObject o, IsDescendantOf Gutter o) => IsGutter o Source #
Instances
| (GObject o, IsDescendantOf Gutter o) => IsGutter o Source # | |
Defined in GI.GtkSource.Objects.Gutter | |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, insert, isFloating, notify, notifyByPspec, queueDraw, ref, refSink, remove, reorder, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getPadding, getProperty, getQdata, getRendererAtPos, getView, getWindow, getWindowType.
Setters
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
The View of the gutter.
constructGutterView :: (IsGutter o, MonadIO m, IsView a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “view” property. This is rarely needed directly, but it is used by new.
getGutterView :: (MonadIO m, IsGutter o) => o -> m View Source #
Get the value of the “view” property.
When overloading is enabled, this is equivalent to
get gutter #view
windowType
The text window type on which the window is placed.
constructGutterWindowType :: (IsGutter o, MonadIO m) => TextWindowType -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “window-type” property. This is rarely needed directly, but it is used by new.
getGutterWindowType :: (MonadIO m, IsGutter o) => o -> m TextWindowType Source #
Get the value of the “window-type” property.
When overloading is enabled, this is equivalent to
get gutter #windowType
xpad
The x-padding.
constructGutterXpad :: (IsGutter o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “xpad” property. This is rarely needed directly, but it is used by new.
getGutterXpad :: (MonadIO m, IsGutter o) => o -> m Int32 Source #
Get the value of the “xpad” property.
When overloading is enabled, this is equivalent to
get gutter #xpad
setGutterXpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m () Source #
Set the value of the “xpad” property.
When overloading is enabled, this is equivalent to
setgutter [ #xpad:=value ]
ypad
The y-padding.
constructGutterYpad :: (IsGutter o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “ypad” property. This is rarely needed directly, but it is used by new.
getGutterYpad :: (MonadIO m, IsGutter o) => o -> m Int32 Source #
Get the value of the “ypad” property.
When overloading is enabled, this is equivalent to
get gutter #ypad
setGutterYpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m () Source #
Set the value of the “ypad” property.
When overloading is enabled, this is equivalent to
setgutter [ #ypad:=value ]