RE: Set Label on Button with Resource File
- From: "Marcos Leal" <marcos polyflow com>
- To: <gtk-list gnome org>
- Cc: "'Paul Davis'" <paul linuxaudiosystems com>
- Subject: RE: Set Label on Button with Resource File
- Date: Fri, 16 Apr 2004 13:29:50 -0700
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) ?
> 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.
] [Thread Prev