Package: gtk

Function gtk:editable-selection-bounds

Lambda List

gtk:editable-selection-bounds (editable)

Arguments

editable -- a gtk:editable widget

Return Value

start -- an integer with the starting position, or nil
end -- an integer with the end position, or nil

Details

Retrieves the selection bound of the editable. The start value will be filled with the start of the selection and the end value with end. If no text was selected both will be identical and nil will be returned.

Note that positions are specified in characters, not bytes.
 

See also

2023-2-13