RE: Set Label on Button with Resource File

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

 



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) ?


[]z
Marcos




>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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux