Re: ? about gtk_text_iter_is_cursor_position()



Vitaly Tishkov <tvv sparc spb su> writes:
> If so, why the compiled program listed below shows that all the
> positions are valid?  Should the 5th position be valid?

Perhaps not. Does the text widget properly display a-with-umlaut?

>     gtk_text_buffer_set_text (buffer, str, strlen (str));

btw you can pass -1 for length to automatically do the strlen().

Havoc




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