Re: Chess GUI with wxPython Phoenix

[email protected]
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Well, this is all well and good, but I want to display the SVG image on the 
panel, not a PNG image or an image of some other format. Sadly, wxWidgets 
doesn't support SVG format and therefore wxPython doesn't support SVG. 
We're in late 2017 and wxWidgets/wxPython don't support SVG format? That's 
like a real bummer!

Anyway, I'm using python-chess library which outputs SVGs, it outputs the 
chessboard with all the pieces at their initial position, all as an SVG 
image. The python-chess library has these neat functions to make a move, 
like chess.Board().push_san("e4") moves the pawn from the e2 square to the 
e4 square. Simple as cake!

I was playing with this python-chess library and IPython in a Jupyter 
Notebook and everything looked so dandy. So you tell me how exactly can I 
render this chessboard in SVG format on a wx.Panel.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.