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 |
Renders a pixbuf in the gutter.
A GtkSourceGutterRendererPixbuf
can be used to render an image in a cell of
[classgutter
].
Synopsis
- newtype GutterRendererPixbuf = GutterRendererPixbuf (ManagedPtr GutterRendererPixbuf)
- class (GObject o, IsDescendantOf GutterRendererPixbuf o) => IsGutterRendererPixbuf o
- toGutterRendererPixbuf :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m GutterRendererPixbuf
- gutterRendererPixbufGetGicon :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) => a -> m Icon
- gutterRendererPixbufGetIconName :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) => a -> m Text
- gutterRendererPixbufGetPaintable :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) => a -> m (Maybe Paintable)
- gutterRendererPixbufGetPixbuf :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) => a -> m Pixbuf
- gutterRendererPixbufNew :: (HasCallStack, MonadIO m) => m GutterRendererPixbuf
- gutterRendererPixbufOverlayPaintable :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPaintable b) => a -> b -> m ()
- gutterRendererPixbufSetGicon :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsIcon b) => a -> Maybe b -> m ()
- gutterRendererPixbufSetIconName :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) => a -> Maybe Text -> m ()
- gutterRendererPixbufSetPaintable :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPaintable b) => a -> Maybe b -> m ()
- gutterRendererPixbufSetPixbuf :: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPixbuf b) => a -> Maybe b -> m ()
- clearGutterRendererPixbufGicon :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m ()
- constructGutterRendererPixbufGicon :: (IsGutterRendererPixbuf o, MonadIO m, IsIcon a) => a -> m (GValueConstruct o)
- getGutterRendererPixbufGicon :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m Icon
- setGutterRendererPixbufGicon :: (MonadIO m, IsGutterRendererPixbuf o, IsIcon a) => o -> a -> m ()
- clearGutterRendererPixbufIconName :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m ()
- constructGutterRendererPixbufIconName :: (IsGutterRendererPixbuf o, MonadIO m) => Text -> m (GValueConstruct o)
- getGutterRendererPixbufIconName :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m Text
- setGutterRendererPixbufIconName :: (MonadIO m, IsGutterRendererPixbuf o) => o -> Text -> m ()
- clearGutterRendererPixbufPaintable :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m ()
- constructGutterRendererPixbufPaintable :: (IsGutterRendererPixbuf o, MonadIO m, IsPaintable a) => a -> m (GValueConstruct o)
- getGutterRendererPixbufPaintable :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m (Maybe Paintable)
- setGutterRendererPixbufPaintable :: (MonadIO m, IsGutterRendererPixbuf o, IsPaintable a) => o -> a -> m ()
- clearGutterRendererPixbufPixbuf :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m ()
- constructGutterRendererPixbufPixbuf :: (IsGutterRendererPixbuf o, MonadIO m, IsPixbuf a) => a -> m (GValueConstruct o)
- getGutterRendererPixbufPixbuf :: (MonadIO m, IsGutterRendererPixbuf o) => o -> m Pixbuf
- setGutterRendererPixbufPixbuf :: (MonadIO m, IsGutterRendererPixbuf o, IsPixbuf a) => o -> a -> m ()
Exported types
newtype GutterRendererPixbuf Source #
Memory-managed wrapper type.
GutterRendererPixbuf (ManagedPtr GutterRendererPixbuf) |
Instances
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
(GObject o, IsDescendantOf GutterRendererPixbuf o) => IsGutterRendererPixbuf o Source # | |
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
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 #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) | |
=> a |
|
-> m Icon | Returns: a |
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 #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) | |
=> a |
|
-> m (Maybe Paintable) |
Gets a Paintable
that was set with
[methodgutterRendererPixbuf
.set_paintable]
getPixbuf
gutterRendererPixbufGetPixbuf Source #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) | |
=> a |
|
-> m Pixbuf | Returns: a |
Get the pixbuf of the renderer.
new
gutterRendererPixbufNew Source #
:: (HasCallStack, MonadIO m) | |
=> m GutterRendererPixbuf | Returns: A |
Create a new GutterRendererPixbuf
.
overlayPaintable
gutterRendererPixbufOverlayPaintable Source #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPaintable b) | |
=> a |
|
-> b |
|
-> 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 #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsIcon b) | |
=> a |
|
-> Maybe b |
|
-> m () |
No description available in the introspection data.
setIconName
gutterRendererPixbufSetIconName Source #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
No description available in the introspection data.
setPaintable
gutterRendererPixbufSetPaintable Source #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPaintable b) | |
=> a |
|
-> Maybe b |
|
-> m () |
No description available in the introspection data.
setPixbuf
gutterRendererPixbufSetPixbuf Source #
:: (HasCallStack, MonadIO m, IsGutterRendererPixbuf a, IsPixbuf b) | |
=> a |
|
-> Maybe b |
|
-> 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 ]