alejandroautalan / pygubu-designer

A simple GUI designer for the python tkinter module
GNU General Public License v3.0
828 stars 101 forks source link

Unnecessary "Application" dependencies #89

Closed matecsaj closed 2 years ago

matecsaj commented 2 years ago

The 'Application' variant generates python code that does not directly use the tkinter runtime library, so omit these direct dependencies.

import tkinter as tk
import tkinter.ttk as ttk

I am uncertain if this is advisable. If someone who adds Python code to the generated file will almost always need them, perhaps they should stay.