How to set the resource for GTK?
- From: "Tom Liu" <tom liu flextrade com>
- To: <gtk-app-devel-list gnome org>
- Subject: How to set the resource for GTK?
- Date: Wed, 7 Jan 2004 11:06:25 -0500
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]