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 |
No description available in the introspection data.
Synopsis
- newtype Tag = Tag (ManagedPtr Tag)
- class (GObject o, IsDescendantOf Tag o) => IsTag o
- toTag :: (MonadIO m, IsTag o) => o -> m Tag
- tagNew :: (HasCallStack, MonadIO m) => Maybe Text -> m Tag
- constructTagDrawSpaces :: (IsTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTagDrawSpaces :: (MonadIO m, IsTag o) => o -> m Bool
- setTagDrawSpaces :: (MonadIO m, IsTag o) => o -> Bool -> m ()
- constructTagDrawSpacesSet :: (IsTag o, MonadIO m) => Bool -> m (GValueConstruct o)
- getTagDrawSpacesSet :: (MonadIO m, IsTag o) => o -> m Bool
- setTagDrawSpacesSet :: (MonadIO m, IsTag o) => o -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Tag Source # | |
GObject Tag Source # | |
Defined in GI.GtkSource.Objects.Tag | |
ManagedPtrNewtype Tag Source # | |
Defined in GI.GtkSource.Objects.Tag toManagedPtr :: Tag -> ManagedPtr Tag | |
TypedObject Tag Source # | |
Defined in GI.GtkSource.Objects.Tag | |
HasParentTypes Tag Source # | |
Defined in GI.GtkSource.Objects.Tag | |
IsGValue (Maybe Tag) Source # | Convert |
Defined in GI.GtkSource.Objects.Tag gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe Tag -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe Tag) | |
type ParentTypes Tag Source # | |
Defined in GI.GtkSource.Objects.Tag type ParentTypes Tag = '[TextTag, Object] |
class (GObject o, IsDescendantOf Tag o) => IsTag o Source #
Instances
(GObject o, IsDescendantOf Tag o) => IsTag o Source # | |
Defined in GI.GtkSource.Objects.Tag |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, changed, event, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getPriority, getProperty, getQdata.
Setters
new
Creates a Tag
. Configure the tag using object arguments,
i.e. using g_object_set()
.
For usual cases, gtk_source_buffer_create_source_tag()
is more convenient to
use.
Since: 3.20
Properties
drawSpaces
Whether to draw white spaces. This property takes precedence over the value defined by the GtkSourceSpaceDrawer's SpaceDrawer:matrix property (only where the tag is applied).
Setting this property also changes Tag:drawSpacesSet to
True
.
Since: 3.20
constructTagDrawSpaces :: (IsTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “draw-spaces
” property. This is rarely needed directly, but it is used by new
.
getTagDrawSpaces :: (MonadIO m, IsTag o) => o -> m Bool Source #
Get the value of the “draw-spaces
” property.
When overloading is enabled, this is equivalent to
get
tag #drawSpaces
setTagDrawSpaces :: (MonadIO m, IsTag o) => o -> Bool -> m () Source #
Set the value of the “draw-spaces
” property.
When overloading is enabled, this is equivalent to
set
tag [ #drawSpaces:=
value ]
drawSpacesSet
Whether the Tag:drawSpaces property is set and must be taken into account.
Since: 3.20
constructTagDrawSpacesSet :: (IsTag o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “draw-spaces-set
” property. This is rarely needed directly, but it is used by new
.
getTagDrawSpacesSet :: (MonadIO m, IsTag o) => o -> m Bool Source #
Get the value of the “draw-spaces-set
” property.
When overloading is enabled, this is equivalent to
get
tag #drawSpacesSet
setTagDrawSpacesSet :: (MonadIO m, IsTag o) => o -> Bool -> m () Source #
Set the value of the “draw-spaces-set
” property.
When overloading is enabled, this is equivalent to
set
tag [ #drawSpacesSet:=
value ]