Re: Set Label on Button with Resource File
- From: Paul Davis <paul linuxaudiosystems com>
- To: "Marcos Leal" <marcos polyflow com>
- Cc: gtk-list gnome org
- Subject: Re: Set Label on Button with Resource File
- Date: Fri, 16 Apr 2004 06:05:59 -0400
> Is that possible to change the Label of a button using just the resource
> I tried something like
>widget "mywindow.GtkLabel.my_button" style "white-label"
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