On Mon, 2007-05-21 at 12:53 -0300, Leonel Freire wrote:
> label = gtk_label_new("");
> gtk_container_add(GTK_CONTAINER(window), label);
> gtk_widget_show(label);
>
> layout = gtk_label_get_layout(GTK_LABEL(label));
> pango_layout_set_text(layout, "TEXT", -1);
>
> gtk_widget_show(window);
>
> gtk_main();
> /**************************************************************************/
>
> Why the text isn't updated on the screen? =\
>
because you need to queue a redraw of the label.
now, why are you not using gtk_label_set_text()?
ciao,
Emmanuele.
--
Emmanuele Bassi, E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list