How to set the resource for GTK?



I want to set the property of a widget use the resource file,
For example: Can I set the border width for a container?

In the resource file:
style "my_style"
{
       GtkContainer::border-width = 10
        bg[NORMAL]={1.0,1.0,0}
}
widget "*" style "my_style"


The background changed, but the border-width didn't change?

Thanks in advance.





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