python - remove border of a gtk.button -


I want to delete the gtk.button limit, but I do not know how to do it.

I tried:

  button = gtk.Button () button .set_style ("internal border", 0)  

But I have an error: property does not exist

Any one idea?

Thanks

relief of the button < / Code> Property Set:

  button.props.relief = gtk full test program:   import gtk window = gtk.Window () box = Gtk.VButtonBox () for category (10): button = gtk.button ('button% d'% k) if k% 2 == 0: button.prop.relief = gtk.RELIEF_NONE box.ed (button) Window.add (box) window.show_all () gtk If this does not work for you, then your GTK + theme does not support  RELIEF_NONE . 

/ html>

Comments