Re: Help me for TextWidget
- From: muppet <scott asofyet org>
- To: parakala suma <parakalas yahoo com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Help me for TextWidget
- Date: Fri, 17 Jan 2003 17:03:37 -0500
parakala suma wrote:
my problem is first time the data is bieng displayed
correctly but if I close the textwidget with close
button and again select new branches The previous
data is not being erased. How can i clear the data in
textwidget and display newly selected data after
pressing close button in textwidget
either completely destroy the Gtk::Text when you close it (so that the
next time you're dealing with a brand new, empty textbox)...
or delete all the text from the textbox before adding the text from the
new query.
$gtktext->delete_text ( 0, -1 );
(delete_text is a method of Gtk::Text's parent, Gtk::Editable)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]