>>How do I get rid of the border?
>
>menubar.set_property("shadow-type", gtk.SHADOW_NONE)

I tried this, and got:

Traceback (most recent call last):
  File "./browser-bookmarks-menu.py", line 212, in ?
    applet_factory(applet, None)
  File "./browser-bookmarks-menu.py", line 94, in applet_factory
    menubar.set_property("shadow-type", gtk.SHADOW_NONE)
TypeError: the object does not support the given parameter


I poked around for a bit, and tried:
print menubar.get_property("shadow-type")
and again got an error:
TypeError: the object does not support the given parameter


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.


Any ideas?  I have gnome-python 2.6.0.

tia,
Nigel.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to