Removing default button rectangle

Hi there, i was wondering how to use an image as a button, so i obviously chose the DirectButton. But, after using image=(...) or geom=(...) (as in documentation) the image gets loaded on the button

but the default rectangle remains visible. How do you set the image itself as the button?

Use relief=None to disable the default edges.

By the way, have you looked at DirectGUI Designer? It’s a tool, made by a community member, that may aid in the making of UIs with DirectGUI.

See the link here:

1 Like