Re: GtkText
- From: Stuart Gilbert <stu better domain name>
- To: Sukrit K Mehra <holysmoke amaltaas biz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkText
- Date: Wed, 24 Dec 2003 12:14:45 -0800
If you meant GtkTextView then:
http://developer.gnome.org/doc/API/2.0/gtk/GtkTextView.html#gtk-text-view-set-buffer
GtkTextBuffer:
http://developer.gnome.org/doc/API/2.0/gtk/GtkTextBuffer.html#gtk-text-buffer-set-text
If you meant GtkEntry then:
http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html#gtk-entry-set-text
Or just go to http://developer.gnome.org/doc/API/2.0/gtk/ that page and
find what you want. Just set the text to nothing. It might have some
problems with setting to NULL or '\0' though, if I recall correctly.
The API guide is most helpful, anyway.
Regards,
Stuart Gilbert.
Sukrit K Mehra wrote:
How do I empty a GtkText Widget? That is if I put some text into GtkText, how do I then make it blank.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]