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 for the start position
end -- an integer for the end position

Details

Retrieves the selection bounds of the editable widget. The start value will be filled with the start position of the selection and the end value with the end position. If no text was selected nil will be returned. Note that positions are specified in characters, not bytes.
 

See also

2025-05-31