GtkSource.RegionIter

Fields

Name

Type

Access

Description

dummy1

object

r

dummy2

int

r

dummy3

object

r

Methods

get_subregion ()

is_end ()

next ()

Details

class GtkSource.RegionIter

An opaque datatype.

Ignore all its fields and initialize the iter with [method`Region`.get_start_region_iter].

get_subregion()
Returns:

True if start and end have been set successfully (if non-None), or False if self is the end iterator or if the region is empty.

start:

iterator to initialize with the subregion start, or None.

end:

iterator to initialize with the subregion end, or None.

Return type:

(bool, start: Gtk.TextIter, end: Gtk.TextIter)

Gets the subregion at this iterator.

is_end()
Returns:

whether self is the end iterator.

Return type:

bool

next()
Returns:

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

Return type:

bool

Moves self to the next subregion.