[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    re: Modifying widget's w/ libglade
From:       Carlos Pereira <carlos () pehoe ! civil ! ist ! utl ! pt>
Date:       2001-09-26 19:09:50
[Download RAW message or body]

>button is clicked.  Unfortunately, I don't know how to access the
>button's label in my signal-handler, could anyone tell me how that works

GtkWidget *button;
GtkWidget *label;
char *text;

label = GTK_BIN (button)->child;
gtk_label_set_text (GTK_LABEL (label), text);

Carlos

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic