[pygtk] Browser Bookmarks Menu (Gnome Applet) 0.1
Johan Dahlin
johan at gnome.org
Thu Oct 28 21:15:41 WST 2004
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 <johan at gnome.org>
More information about the pygtk
mailing list