select_region


Description:

public void select_region (int start_offset, int end_offset)

Selects a range of characters in the label, if the label is selectable.

See [method@Gtk.Label.set_selectable]. 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.

Parameters:

this

a `GtkLabel`

start_offset

start offset (in characters not bytes)

end_offset

end offset (in characters not bytes)