Re: why gtk_label_set_text fail to change text?
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: "chen.shengqi" <chen shengqi connet com tw>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: why gtk_label_set_text fail to change text?
- Date: Tue, 22 Oct 2002 11:13:59 +0300
chen.shengqi 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.
Strange, the gtk_label_set_text() duplicates the string you've passed to it.
Can you post the piece of source ?
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]