Package: gtk

Function gtk-text-buffer-selection-bound

Lambda List

gtk-text-buffer-selection-bound (buffer)

Arguments

buffer -- a gtk-text-buffer object

Return Value

The gtk-text-mark selection bound mark.

Details

Returns the mark that represents the selection bound. Equivalent to calling the gtk-text-buffer-mark function to get the mark named "selection_bound", but very slightly more efficient, and involves less typing.

The currently selected text in the text buffer is the region between the "selection_bound" and "insert" marks. If the "selection_bound" and "insert" marks are in the same place, then there is no current selection. The gtk-text-buffer-selection-bounds function is another convenient function for handling the selection, if you just want to know whether there is a selection and what its bounds are.
 

See also

2021-11-16