So I'm looking to make a game tree in my GUI, similar to this
(School of Computer Science - The University of Nottingham) without the Min and Max stuff on the left. I'll be implementing different algorithms to go along with it, I just don't know where to start as far as getting something like that created within my GUI.
Would it be best to make my own image and then place it inside the GUI
and then just put some text overlapping the image based on the results
of my algorithms.
Sorry if that has been asked already, the only information I can find
about trees is about file trees.
I'd suggest you look at FloatCanvas. You can draw shapes, labels,
arrows, etc. as you need.
David
a relvent example:
http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/FloatCanvas/Demos/ProcessDiagram.py?view=markup
(in the wxPython SVN)
-CHB
···
On Wed, Jan 16, 2013 at 6:51 AM, David Woods <david@badgerchildhoodcancer.org> wrote:
I'd suggest you look at FloatCanvas. You can draw shapes, labels,
arrows, etc. as you need.
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
a relevant example:
http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/FloatCanvas/Demos/ProcessDiagram.py?view=markup
Here's a screenshot of that one -- note that the nodes can be dragged around.
(in the wxPython SVN)
There is a whole pile of other small demos there, too.
-Chris
···
On Wed, Jan 16, 2013 at 4:44 PM, Chris Barker - NOAA Federal <chris.barker@noaa.gov> wrote:
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov