Re: How to Highlight textbuffer without using mouse



"Fawaz" <Fawaz@Altavista.net> writes:
> 
> I would like to know how to highlight a part of text that have been
> written in gtktextbuffer ..
> 

The highlighted selection is between the "insert" mark and the
"selection_bound" mark. So move "insert" and "selection_bound" so that
they enclose the selection you want.

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]