Region.getBounds

bool getBounds(out gtk.text_iter.TextIter start, out gtk.text_iter.TextIter end)

Gets the start and end bounds of the region.

Parameters

startiterator to initialize with the start of region, or null.
enditerator to initialize with the end of region, or null.

Returns

true if start and end have been set successfully (if non-null),

or false if the region is empty.