remove border of a gtk.button

Posted by spanctus on Stack Overflow See other posts from Stack Overflow or by spanctus
Published on 2010-05-17T02:45:13Z Indexed on 2010/05/17 2:50 UTC
Read the original article Hit count: 257

Filed under:
|

Hi,

I want to remove the border of the gtk.button, but i Don't know how to do it.

I tried with :

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

but i have an error : the property doesn't exist. I tried too to create a new gtk.Style and use it for the button, but same error.

Anyone has an idea ?

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about gtk