Re: why gtk_label_set_text fail to change text?
- From: Harring Figueiredo <harringf yahoo com>
- To: "chen.shengqi" <chen shengqi connet com tw>, gtk-app-devel-list gnome org
- Subject: Re: why gtk_label_set_text fail to change text?
- Date: Tue, 22 Oct 2002 06:56:55 -0700 (PDT)
If you are using a statusbar, why not use the functions:
gtk_statusbar_push/pop to display the text/message ?
Now to your problems:
How are you allocating the string that you pass to the label ? -- Can you
place the code sample ?
Harring.
--- "chen.shengqi" <chen shengqi connet com tw> wrote:
Dear sirs:
I place some GtkLabel on statusbar, and want to change the text when app
is runing. but it seems that gtk_label_set_text sometimes will fail.
example, I set it to "kf_rpt" first, then gtk_label_set_text(..,"test1") , it
show out "test1t", it seems tnah it copy "test1" to the text, but not release
the old one. why so? how can I overcome this?
thanks.
,Ù ¦-^½éeSËfj)b? b²Ø-?ªiuëÞ-X¬¶ è?ê+, m§ÿæj)`???¢¸??¨¥?©ÿ-+-Swèþ djs]z÷¥-+-
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]