[pygtk] Creating a vertical button

Adam Olsen arolsen at gmail.com
Wed Jul 12 00:51:58 WST 2006


I'm in the process of trying to convert an app from wxPython to pygtk, and
was wondering:

How can I draw some buttons that look like this:
http://binary.twi.gs/buttons.png ?

It seems I must use a drawing area, and a pango layout.  I can't seem to see
how I would go about rotating the text in the pango layout, though.

Any suggestions would be great.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20060711/c6fbd272/at=
tachment.htm


More information about the pygtk mailing list