RE: Set Label on Button with Resource File

Thanks Paul,

	That was exactly what I needed.
	But is there any way to use just the name of the button that I configured
with my Glade (libglade xml) project ?
	I mean, is there any way of doing that without having to name it on my
program (using gtk_widget_set_name) ?


>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.

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