Home Download Buy Blog Forum Support

Opening a graphics window

Opening a graphics window

Postby mmmpie on Wed Apr 18, 2012 5:57 pm

Has anyone got some sample code which opens a window and draws graphics into it from a plugin?
I was able to get tk and turtle to run, and they would open a window. But the window was empty and sublime crashes shortly afterwards.
It looks like turtle is built on top of the tk library, so no surprise that they both have the same symptoms.

Maybe I need to use a native window instead of trying to work with a python library?
I also had a bit of trouble with those libraries expecting to have argv initialized with the script name in the first element. Maybe when I faked that it was wrong.
Posts: 6
Joined: Wed Apr 18, 2012 5:44 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests