tor 2004-10-28 klockan 22:46 +1000 skrev Nigel Tao:
> >>How do I get rid of the border?
[..]
> tried a different method with "style_" in it:
> print menubar.style_get_property("shadow-type")
> and now got:
> <enum GTK_SHADOW_OUT of type GtkShadowType>
>
>
> but there is no corresponding style_set_property method.
style properties are read only.
You can change it using something like this:
style "menubar-style" {
GtkMenuBar::shadow_type = etched-in
}
class "GtkMenuBar" style "menubar-style"
Pass it on to gtk.rc_parse_string().
--
Johan Dahlin <[EMAIL PROTECTED]>
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/