RGtk2 (version 2.20.31)

gtkLabelSelectRegion: gtkLabelSelectRegion

Description

Selects a range of characters in the label, if the label is selectable. See gtkLabelSetSelectable. If the label is not selectable, this function has no effect. If start.offset or end.offset are -1, then the end of the label will be substituted.

Usage

gtkLabelSelectRegion(object, start.offset, end.offset)

Arguments

object
start.offset
start offset (in characters not bytes)
end.offset
end offset (in characters not bytes)