Why can't I update the content of GtkLabel
- From: enjoy70 163 net
- To: gtk-app-devel-list gnome org
- Subject: Why can't I update the content of GtkLabel
- Date: Fri, 24 Nov 2000 12:15:40 +0800 (CST)
Hi,
In function processwindow() I created the GtkLabel label and it's parent window, and set it's content like
"Now let's begin"
In another function do(), I use:
gtk_label_set(GTK_LABEL(label), "Please wait...");
gtk_widget_draw(label, NULL);
......
to make label changed by the program process.
But the label hasn't been updated until function do() returned, and only the last content was displayed.
Thanks,
Sarah
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
¡°200¼ÒÁ¬ËøÍøÕ¾£¬ÈÃÑÛ¾¦³¢³¢ÏÊ¡±
http://www.chinese.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163µç×ÓÓʾ֣¬¸øÄú¸üÍêÃÀEmail·þÎñ£¡
http://www.163.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]