Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
A range inside the text of an accessible object.
Since: 4.14
Synopsis
- newtype AccessibleTextRange = AccessibleTextRange (ManagedPtr AccessibleTextRange)
- newZeroAccessibleTextRange :: MonadIO m => m AccessibleTextRange
- getAccessibleTextRangeLength :: MonadIO m => AccessibleTextRange -> m CSize
- setAccessibleTextRangeLength :: MonadIO m => AccessibleTextRange -> CSize -> m ()
- getAccessibleTextRangeStart :: MonadIO m => AccessibleTextRange -> m CSize
- setAccessibleTextRangeStart :: MonadIO m => AccessibleTextRange -> CSize -> m ()
Exported types
newtype AccessibleTextRange Source #
Memory-managed wrapper type.
Instances
Eq AccessibleTextRange Source # | |
Defined in GI.Gtk.Structs.AccessibleTextRange (==) :: AccessibleTextRange -> AccessibleTextRange -> Bool # (/=) :: AccessibleTextRange -> AccessibleTextRange -> Bool # | |
BoxedPtr AccessibleTextRange Source # | |
Defined in GI.Gtk.Structs.AccessibleTextRange boxedPtrCopy :: AccessibleTextRange -> IO AccessibleTextRange # boxedPtrFree :: AccessibleTextRange -> IO () # | |
CallocPtr AccessibleTextRange Source # | |
Defined in GI.Gtk.Structs.AccessibleTextRange | |
ManagedPtrNewtype AccessibleTextRange Source # | |
tag ~ 'AttrSet => Constructible AccessibleTextRange tag Source # | |
Defined in GI.Gtk.Structs.AccessibleTextRange new :: MonadIO m => (ManagedPtr AccessibleTextRange -> AccessibleTextRange) -> [AttrOp AccessibleTextRange tag] -> m AccessibleTextRange # |
newZeroAccessibleTextRange :: MonadIO m => m AccessibleTextRange Source #
Construct a AccessibleTextRange
struct initialized to zero.
Methods
Properties
length
the length of the range, in characters
getAccessibleTextRangeLength :: MonadIO m => AccessibleTextRange -> m CSize Source #
Get the value of the “length
” field.
When overloading is enabled, this is equivalent to
get
accessibleTextRange #length
setAccessibleTextRangeLength :: MonadIO m => AccessibleTextRange -> CSize -> m () Source #
Set the value of the “length
” field.
When overloading is enabled, this is equivalent to
set
accessibleTextRange [ #length:=
value ]
start
the start of the range, in characters
getAccessibleTextRangeStart :: MonadIO m => AccessibleTextRange -> m CSize Source #
Get the value of the “start
” field.
When overloading is enabled, this is equivalent to
get
accessibleTextRange #start
setAccessibleTextRangeStart :: MonadIO m => AccessibleTextRange -> CSize -> m () Source #
Set the value of the “start
” field.
When overloading is enabled, this is equivalent to
set
accessibleTextRange [ #start:=
value ]