_gtkTextBufferSelectionPositions

Return the start and end positions of the selected text, if any.

Retourne les positions de début et de fin du texte sélectionné, si texte sélectionné il y a.

Type :

fun [ObjGtkTextBuffer] [I I]

_buffer_ : ObjGtkTextBuffer : any textbuffer object already created.

Return : [I I] : a tuple with the start and the end positions or nil if an error occurs. If no text is selected, the return is [-1 -1].

Back