Package: gtk

Function gtk:editable-selection-bounds

Lambda List

gtk:editable-selection-bounds (editable)

Syntax

(gtk:editable-selection-bounds editable) => start, end

Arguments

editable -- a gtk:editable widget
start -- an integer for the start position
end -- an integer for the end position

Details

Retrieves the selection bound of the editable. If no text was selected nil will be returned. Note that positions are specified in characters, not bytes.
 

See also

2025-07-07