>Hey there,
>
>       Is that possible to change the Label of a button using just the resource
>files ?
>
>       I tried something like
>
>widget "mywindow.GtkLabel.my_button" style "white-label"

in foo.c:

     gtk_widget_set_name (button, "MyFoo");

in the RC file:

     widget "*MyFoo" style "my-button"
     widget "*MyFoo*" style "my-button"
     
the first line sets the style of the button, the second of all its
children, such as the label.
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to