Re: GtkLabel: setting text
- From: Jonathan Blandford <jrb redhat com>
- To: Alberto Cabello Sánchez <alberto unex es>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkLabel: setting text
- Date: 23 Aug 2001 11:30:40 -0400
Alberto Cabello Sánchez <alberto unex es> writes:
I´m trying to change the text inside a label widget. If I write
label_set_text(GTK_LABEL(label),"Something");
it works as expected. But if I try
That's right.
gchar *text;
/* doing stuff with text, such as sscanf, strcpy, strcat, etc... */
label_set_text(GTK_LABEL(label),text);
There's something wrong with your code. What is text, at that point?
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]