gi-gtksource-3.0.13: GtkSource bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.Gutter

Contents

Description

 

Synopsis

Exported types

newtype Gutter Source #

Constructors

Gutter (ManagedPtr Gutter) 

Instances

GObject Gutter Source # 

Methods

gobjectType :: Gutter -> IO GType #

IsObject Gutter Source # 
IsGutter Gutter Source # 
((~) * info (ResolveGutterMethod t Gutter), MethodInfo * info Gutter p) => IsLabel t (Gutter -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Gutter -> p #

((~) * info (ResolveGutterMethod t Gutter), MethodInfo * info Gutter p) => IsLabelProxy t (Gutter -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Gutter -> p #

HasAttributeList * Gutter Source # 
type AttributeList Gutter Source # 
type SignalList Gutter Source # 

Methods

getPadding

data GutterGetPaddingMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, IsGutter a) => MethodInfo * GutterGetPaddingMethodInfo a signature Source # 

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

gutter: A Gutter.

-> Int32

x: The x position to get identified.

-> Int32

y: The y position to get identified.

-> m (Maybe GutterRenderer)

Returns: the renderer at (x, y) or Nothing.

Finds the GutterRenderer at (x, y).

getWindow

data GutterGetWindowMethodInfo Source #

Instances

((~) * signature (m Window), MonadIO m, IsGutter a) => MethodInfo * GutterGetWindowMethodInfo a signature Source # 

gutterGetWindow Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutter a) 
=> a

gutter: a Gutter.

-> m Window

Returns: the Window of the gutter, or Nothing if the gutter has no window.

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

insert

data GutterInsertMethodInfo Source #

Instances

((~) * signature (b -> Int32 -> m Bool), MonadIO m, IsGutter a, IsGutterRenderer b) => MethodInfo * GutterInsertMethodInfo a signature Source # 

gutterInsert Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) 
=> a

gutter: a Gutter.

-> b

renderer: a gutter renderer (must inherit from GutterRenderer).

-> Int32

position: the renderer position.

-> m Bool

Returns: True if operation succeeded. Otherwise False.

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

data GutterQueueDrawMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsGutter a) => MethodInfo * GutterQueueDrawMethodInfo a signature Source # 

gutterQueueDraw Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutter a) 
=> a

gutter: a Gutter.

-> 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

data GutterRemoveMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsGutter a, IsGutterRenderer b) => MethodInfo * GutterRemoveMethodInfo a signature Source # 

gutterRemove Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) 
=> a

gutter: a Gutter.

-> b

renderer: a GutterRenderer.

-> m () 

Removes renderer from gutter.

Since: 2.8

reorder

data GutterReorderMethodInfo Source #

Instances

((~) * signature (b -> Int32 -> m ()), MonadIO m, IsGutter a, IsGutterRenderer b) => MethodInfo * GutterReorderMethodInfo a signature Source # 

gutterReorder Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutter a, IsGutterRenderer b) 
=> a

gutter: a GutterRenderer.

-> b

renderer: a CellRenderer.

-> Int32

position: the new renderer position.

-> m () 

Reorders renderer in gutter to new position.

Since: 2.8

setPadding

data GutterSetPaddingMethodInfo Source #

Instances

((~) * signature (Int32 -> Int32 -> m ()), MonadIO m, IsGutter a) => MethodInfo * GutterSetPaddingMethodInfo a signature Source # 

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

data GutterViewPropertyInfo Source #

Instances

AttrInfo GutterViewPropertyInfo Source # 
type AttrOrigin GutterViewPropertyInfo Source # 
type AttrLabel GutterViewPropertyInfo Source # 
type AttrGetType GutterViewPropertyInfo Source # 
type AttrBaseTypeConstraint GutterViewPropertyInfo Source # 
type AttrSetTypeConstraint GutterViewPropertyInfo Source # 
type AttrAllowedOps GutterViewPropertyInfo Source # 

windowType

data GutterWindowTypePropertyInfo Source #

Instances

AttrInfo GutterWindowTypePropertyInfo Source # 
type AttrOrigin GutterWindowTypePropertyInfo Source # 
type AttrLabel GutterWindowTypePropertyInfo Source # 
type AttrGetType GutterWindowTypePropertyInfo Source # 
type AttrBaseTypeConstraint GutterWindowTypePropertyInfo Source # 
type AttrSetTypeConstraint GutterWindowTypePropertyInfo Source # 
type AttrAllowedOps GutterWindowTypePropertyInfo Source # 

xpad

data GutterXpadPropertyInfo Source #

Instances

AttrInfo GutterXpadPropertyInfo Source # 
type AttrOrigin GutterXpadPropertyInfo Source # 
type AttrLabel GutterXpadPropertyInfo Source # 
type AttrGetType GutterXpadPropertyInfo Source # 
type AttrBaseTypeConstraint GutterXpadPropertyInfo Source # 
type AttrSetTypeConstraint GutterXpadPropertyInfo Source # 
type AttrAllowedOps GutterXpadPropertyInfo Source # 

setGutterXpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m () Source #

ypad

data GutterYpadPropertyInfo Source #

Instances

AttrInfo GutterYpadPropertyInfo Source # 
type AttrOrigin GutterYpadPropertyInfo Source # 
type AttrLabel GutterYpadPropertyInfo Source # 
type AttrGetType GutterYpadPropertyInfo Source # 
type AttrBaseTypeConstraint GutterYpadPropertyInfo Source # 
type AttrSetTypeConstraint GutterYpadPropertyInfo Source # 
type AttrAllowedOps GutterYpadPropertyInfo Source # 

setGutterYpad :: (MonadIO m, IsGutter o) => o -> Int32 -> m () Source #