RE: To empty a text_widget



Which buffer?

If you create the memory (i.e. a gchar *) and then use that with
gtk_text_insert, you are responsible for clearing the memeory after you have
called the gtk function.  Gtk takes a copy of whatever you give it and is
responsible for handling its own memory.

-----Original Message-----
From: G Hasse [mailto:gh raditex se]
Sent: Monday, April 08, 2002 2:28 PM
To: gtk-app-devel-list
Subject: To empty a text_widget



Hello,

If I do a lot of gtk_text_insert(...) into
a text widget - How do I clear the buffert?

GH


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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