18 lines
423 B
Python
18 lines
423 B
Python
from ..VDM import VDM
|
|
|
|
import tkinter as tk
|
|
import pygubu
|
|
import VDMAPI
|
|
import os
|
|
|
|
class tkinter:
|
|
def __init__(self):
|
|
self.root = tk.Tk()
|
|
|
|
builder = builder = pygubu.Builder()
|
|
uiPath = os.path.join(VDMAPI.__path__[0], './', 'tkinter.ui')
|
|
builder.add_from_file(uiPath)
|
|
mainwindow = builder.get_object('frame', self.root)
|
|
|
|
def render(self):
|
|
self.root.mainloop() |