gtkEditableGetSelectionBounds: gtkEditableGetSelectionBounds

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

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

1

Arguments

object

a GtkEditable

Details

Note that positions are specified in characters, not bytes.

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 ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.