[Glade-users] gtk_label_set_text fails, but not gtk_label_get_text

Ok, perhaps that makes me look a bit silly.

During the course of debugging it I left the string that I was setting as
"". Now I've changed it to something else I can tell you that if I have the

 g_print(gtk_label_get_text((GtkLabel*) lblInfo));

  gtk_label_set_text((GtkLabel*) lblInfo, "Banana");

  g_print(gtk_label_get_text((GtkLabel*) lblInfo));

I get:

Info goes here

on the command line.

So the set command is setting the text, but apparently not updating the
actual label on the interface, for some reason.

Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20071108/cd24b97e/attachment.html 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]