Re: How to change a Label of a button



here to set the label:


gtk_label_set_text(GTK_LABEL(GTK_BIN(you_button)->child),your_text);


to get the label

gtk_label_get (GTK_LABEL (GTK_BIN (your_button)->child), &text_in_label);


HTH


A R




hunchback netcabo pt wrote:

Hi,

I'm trying to change the label of a button, but i don't see any method to
use..

Does anyone know the method?

Afonso
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list







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