Is this a feature?



I have noticed the following in the text wigdet:

If i put some text in a text widget, and then type some more,

    gtk_editable_get_chars(
        GTK_EDITABLE(text), 0,
        gtk_text_get_length(GTK_TEXT(text)));

don't give me all the caracters (the original text + appended text), just
the original.
In order to obtain the whole text, i have to type a RETURN as the last
character in the buffer.

How can i get all the text in the buffer without having to put the RETURN?


    Juan Pablo





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