Code enabling easy gui creation for general applications
A lightweight wrapper around Tkinter library enabling easy GUI creation for general applications in just few lines of code.
Use the package manager pip to install dogui.
pip install dogui
It is very simple, just remember all GUI widgets need to be declared between GUI initialization and build_gui() method.
import dogui.dogui_core as dg def click_button(): print("Your name is:",entry1.text.get()) gui1=dg.GUI() label1=dg.Label(gui1.window,"What is your name?",1,1) entry1=dg.Entry(gui1.window,1,2) button1=dg.Button(gui1.window,"Submit",click_button,2,1) gui1.build_gui()
Widgets: Label Entry Button Combobox Picturebox For more information about their parameters, please look into the dogui_core.py file.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.