Only create Tk root if necessary...
Brought to you by:
mcfletch
Importing the OpenGL.Tk module currently automatically
creates a Tkinter root. Would be nice if this was only
done if there is no root when creating an actual
widget. Work-around is to do:
from Tkinter import *
my_root = Tk()
from OpenGL.Tk import *
But that's sub-optimal.
Logged In: YES
user_id=28463
Maybe moving some initialization code to first class use
will do.
Please check this.
diff to init.py of OpenGL.Tk