[pygtk] Shaped Buttons
Seltzer
squabbit7 at gmail.com
Fri Jul 4 07:40:33 WST 2008
Hi all,
Ive been looking arround and i cant find a way to shape buttons.
Specifically, i want to make a round button. I found some sources that
recommended using the my_button.shape_combine_mask(pixmap,0,0) function,
but i have not been able to get it to work. i keep getting a warning (
gtk_widget_shape_combine_mask: assertion `!GTK_WIDGET_NO_WINDOW (widget)'
failed ). I would just ignore the warning, but the button doesn't change
shape.
Any ideas?
Im on windows XP using gtk 2.14
thanks
-Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080703/a905625c/at=
tachment.htm
More information about the pygtk
mailing list