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

2023-10-24