gi-gtksource-5.0.0: GtkSource bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GtkSource.Objects.GutterRendererPixbuf

Description

Renders a pixbuf in the gutter.

A GtkSourceGutterRendererPixbuf can be used to render an image in a cell of [classgutter].

Synopsis

Exported types

newtype GutterRendererPixbuf Source #

Memory-managed wrapper type.

Constructors

GutterRendererPixbuf (ManagedPtr GutterRendererPixbuf) 

Instances

Instances details
Eq GutterRendererPixbuf Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

GObject GutterRendererPixbuf Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

ManagedPtrNewtype GutterRendererPixbuf Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

TypedObject GutterRendererPixbuf Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

Methods

glibType :: IO GType

HasParentTypes GutterRendererPixbuf Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

IsGValue (Maybe GutterRendererPixbuf) Source #

Convert GutterRendererPixbuf to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

type ParentTypes GutterRendererPixbuf Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

type ParentTypes GutterRendererPixbuf = '[GutterRenderer, Widget, Object, Accessible, Buildable, ConstraintTarget]

class (GObject o, IsDescendantOf GutterRendererPixbuf o) => IsGutterRendererPixbuf o Source #

Type class for types which can be safely cast to GutterRendererPixbuf, for instance with toGutterRendererPixbuf.

Instances

Instances details
(GObject o, IsDescendantOf GutterRendererPixbuf o) => IsGutterRendererPixbuf o Source # 
Instance details

Defined in GI.GtkSource.Objects.GutterRendererPixbuf

toGutterRendererPixbuf :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m GutterRendererPixbuf Source #

Cast to GutterRendererPixbuf, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

actionSetEnabled, activate, activateAction, activateDefault, addController, addCssClass, addMnemonicLabel, addTickCallback, alignCell, allocate, bindProperty, bindPropertyFull, childFocus, computeBounds, computeExpand, computePoint, computeTransform, contains, createPangoContext, createPangoLayout, disposeTemplate, dragCheckThreshold, errorBell, forceFloating, freezeNotify, getv, grabFocus, hasCssClass, hasDefault, hasFocus, hasVisibleFocus, hide, inDestruction, initTemplate, insertActionGroup, insertAfter, insertBefore, isAncestor, isDrawable, isFloating, isFocus, isSensitive, isVisible, keynavFailed, listMnemonicLabels, map, measure, mnemonicActivate, notify, notifyByPspec, observeChildren, observeControllers, overlayPaintable, pick, queryActivatable, queueAllocate, queueDraw, queueResize, realize, ref, refSink, removeController, removeCssClass, removeMnemonicLabel, removeTickCallback, resetProperty, resetRelation, resetState, runDispose, shouldLayout, show, sizeAllocate, snapshotChild, stealData, stealQdata, thawNotify, translateCoordinates, triggerTooltipQuery, unmap, unparent, unrealize, unref, unsetStateFlags, updateNextAccessibleSibling, updateProperty, updateRelation, updateState, watchClosure.

Getters

getAccessibleParent, getAccessibleRole, getAlignmentMode, getAllocatedBaseline, getAllocatedHeight, getAllocatedWidth, getAllocation, getAncestor, getAtContext, getBounds, getBuffer, getBuildableId, getCanFocus, getCanTarget, getChildVisible, getClipboard, getColor, getCssClasses, getCssName, getCursor, getData, getDirection, getDisplay, getFirstAccessibleChild, getFirstChild, getFocusChild, getFocusOnClick, getFocusable, getFontMap, getFontOptions, getFrameClock, getGicon, getHalign, getHasTooltip, getHeight, getHexpand, getHexpandSet, getIconName, getLastChild, getLayoutManager, getMapped, getMarginBottom, getMarginEnd, getMarginStart, getMarginTop, getName, getNative, getNextAccessibleSibling, getNextSibling, getOpacity, getOverflow, getPaintable, getPangoContext, getParent, getPixbuf, getPlatformState, getPreferredSize, getPrevSibling, getPrimaryClipboard, getProperty, getQdata, getRealized, getReceivesDefault, getRequestMode, getRoot, getScaleFactor, getSensitive, getSettings, getSize, getSizeRequest, getStateFlags, getStyleContext, getTemplateChild, getTooltipMarkup, getTooltipText, getValign, getVexpand, getVexpandSet, getView, getVisible, getWidth, getXalign, getXpad, getYalign, getYpad.

Setters

setAccessibleParent, setAlignmentMode, setCanFocus, setCanTarget, setChildVisible, setCssClasses, setCursor, setCursorFromName, setData, setDataFull, setDirection, setFocusChild, setFocusOnClick, setFocusable, setFontMap, setFontOptions, setGicon, setHalign, setHasTooltip, setHexpand, setHexpandSet, setIconName, setLayoutManager, setMarginBottom, setMarginEnd, setMarginStart, setMarginTop, setName, setOpacity, setOverflow, setPaintable, setParent, setPixbuf, setProperty, setReceivesDefault, setSensitive, setSizeRequest, setStateFlags, setTooltipMarkup, setTooltipText, setValign, setVexpand, setVexpandSet, setVisible, setXalign, setXpad, setYalign, setYpad.

getGicon

gutterRendererPixbufGetGicon Source #

Arguments

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

renderer: a GutterRendererPixbuf

-> m Icon

Returns: a Icon

Get the gicon of the renderer

getIconName

gutterRendererPixbufGetIconName :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) => a -> m Text Source #

No description available in the introspection data.

getPaintable

gutterRendererPixbufGetPaintable Source #

Arguments

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

renderer: a GutterRendererPixbuf

-> m (Maybe Paintable)

Returns: a Paintable or Nothing

Gets a Paintable that was set with [methodgutterRendererPixbuf.set_paintable]

getPixbuf

gutterRendererPixbufGetPixbuf Source #

Arguments

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

renderer: a GutterRendererPixbuf

-> m Pixbuf

Returns: a Pixbuf

Get the pixbuf of the renderer.

new

overlayPaintable

gutterRendererPixbufOverlayPaintable Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPaintable b) 
=> a

renderer: a GutterRendererPixbuf

-> b

paintable: a Paintable

-> m () 

Allows overlaying a paintable on top of any other image that has been set for the pixbuf. This will be applied when the widget is next snapshot.

setGicon

gutterRendererPixbufSetGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsIcon b) 
=> a

renderer: a GutterRendererPixbuf

-> Maybe b

icon: the icon, or Nothing.

-> m () 

No description available in the introspection data.

setIconName

gutterRendererPixbufSetIconName Source #

Arguments

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

renderer: a GutterRendererPixbuf

-> Maybe Text

iconName: the icon name, or Nothing.

-> m () 

No description available in the introspection data.

setPaintable

gutterRendererPixbufSetPaintable Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPaintable b) 
=> a

renderer: a GutterRendererPixbuf

-> Maybe b

paintable: the paintable, or Nothing.

-> m () 

No description available in the introspection data.

setPixbuf

gutterRendererPixbufSetPixbuf Source #

Arguments

:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPixbuf b) 
=> a

renderer: a GutterRendererPixbuf

-> Maybe b

pixbuf: the pixbuf, or Nothing.

-> m () 

No description available in the introspection data.

Properties

gicon

No description available in the introspection data.

clearGutterRendererPixbufGicon :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m () Source #

Set the value of the “gicon” property to Nothing. When overloading is enabled, this is equivalent to

clear #gicon

constructGutterRendererPixbufGicon :: (IsGutterRendererPixbuf o, MonadIO m, IsIcon a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “gicon” property. This is rarely needed directly, but it is used by new.

getGutterRendererPixbufGicon :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m Icon Source #

Get the value of the “gicon” property. When overloading is enabled, this is equivalent to

get gutterRendererPixbuf #gicon

setGutterRendererPixbufGicon :: (MonadIO m, IsGutterRendererPixbuf o, IsIcon a) => o -> a -> m () Source #

Set the value of the “gicon” property. When overloading is enabled, this is equivalent to

set gutterRendererPixbuf [ #gicon := value ]

iconName

No description available in the introspection data.

clearGutterRendererPixbufIconName :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m () Source #

Set the value of the “icon-name” property to Nothing. When overloading is enabled, this is equivalent to

clear #iconName

constructGutterRendererPixbufIconName :: (IsGutterRendererPixbuf o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “icon-name” property. This is rarely needed directly, but it is used by new.

getGutterRendererPixbufIconName :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m Text Source #

Get the value of the “icon-name” property. When overloading is enabled, this is equivalent to

get gutterRendererPixbuf #iconName

setGutterRendererPixbufIconName :: (MonadIO m, IsGutterRendererPixbuf o) => o -> Text -> m () Source #

Set the value of the “icon-name” property. When overloading is enabled, this is equivalent to

set gutterRendererPixbuf [ #iconName := value ]

paintable

No description available in the introspection data.

clearGutterRendererPixbufPaintable :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m () Source #

Set the value of the “paintable” property to Nothing. When overloading is enabled, this is equivalent to

clear #paintable

constructGutterRendererPixbufPaintable :: (IsGutterRendererPixbuf o, MonadIO m, IsPaintable a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “paintable” property. This is rarely needed directly, but it is used by new.

getGutterRendererPixbufPaintable :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m (Maybe Paintable) Source #

Get the value of the “paintable” property. When overloading is enabled, this is equivalent to

get gutterRendererPixbuf #paintable

setGutterRendererPixbufPaintable :: (MonadIO m, IsGutterRendererPixbuf o, IsPaintable a) => o -> a -> m () Source #

Set the value of the “paintable” property. When overloading is enabled, this is equivalent to

set gutterRendererPixbuf [ #paintable := value ]

pixbuf

No description available in the introspection data.

clearGutterRendererPixbufPixbuf :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m () Source #

Set the value of the “pixbuf” property to Nothing. When overloading is enabled, this is equivalent to

clear #pixbuf

constructGutterRendererPixbufPixbuf :: (IsGutterRendererPixbuf o, MonadIO m, IsPixbuf a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “pixbuf” property. This is rarely needed directly, but it is used by new.

getGutterRendererPixbufPixbuf :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m Pixbuf Source #

Get the value of the “pixbuf” property. When overloading is enabled, this is equivalent to

get gutterRendererPixbuf #pixbuf

setGutterRendererPixbufPixbuf :: (MonadIO m, IsGutterRendererPixbuf o, IsPixbuf a) => o -> a -> m () Source #

Set the value of the “pixbuf” property. When overloading is enabled, this is equivalent to

set gutterRendererPixbuf [ #pixbuf := value ]