Learn R Programming

RGtk2 (version 2.20.31)

gtkEditableGetSelectionBounds: gtkEditableGetSelectionBounds

Description

Retrieves the selection bound of the editable. start_pos will be filled with the start of the selection and end.pos with end. If no text was selected both will be identical and FALSE will be returned.

Usage

gtkEditableGetSelectionBounds(object)

Arguments

object

Value

A list containing the following elements:
retval
[logical] TRUE if an area is selected, FALSE otherwise
start
location to store the starting position, or NULL. [ out ][ allow-none ]
end
location to store the end position, or NULL. [ out ][ allow-none ]

Details

Note that positions are specified in characters, not bytes.