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

GI.GtkSource.Structs.RegionIter

Description

RegionIter is an opaque datatype; ignore all its fields. Initialize the iter with regionGetStartRegionIter.

Since: 3.22

Synopsis

Exported types

newtype RegionIter Source #

Memory-managed wrapper type.

newZeroRegionIter :: MonadIO m => m RegionIter Source #

Construct a RegionIter struct initialized to zero.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

isEnd, next.

Getters

getSubregion.

Setters

None.

getSubregion

regionIterGetSubregion Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RegionIter

iter: a RegionIter.

-> m (Bool, TextIter, TextIter)

Returns: True if start and end have been set successfully (if non-Nothing), or False if iter is the end iterator or if the region is empty.

Gets the subregion at this iterator.

Since: 3.22

isEnd

regionIterIsEnd Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RegionIter

iter: a RegionIter.

-> m Bool

Returns: whether iter is the end iterator.

No description available in the introspection data.

Since: 3.22

next

regionIterNext Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RegionIter

iter: a RegionIter.

-> m Bool

Returns: True if iter moved and is dereferenceable, or False if iter has been set to the end iterator.

Moves iter to the next subregion.

Since: 3.22