Giter Site home page Giter Site logo

kalana304 / tkinter-gui-design Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.46 MB

This repo consists some simple GUI developments done for three projects using Tkinter package of python. Tkinter is the standard Python interface to the Tk GUI toolkit. It is ideal as a front-end frame work if you need to create a simple GUI easily to show case the work done in the background. Since it is python-based, there is no need to learn specific programming languages that are capable of desiging better front-ends.

Python 100.00%
tkinter-graphic-interface python3

tkinter-gui-design's Introduction

Tkinter

Tkinter is the standard Python interface to the Tk GUI toolkit which provides tools for an easy and simple GUI creation. This is a good toolkit to start with for GUI design specially when you need some sort of simple GUI to show your work running in the backend. https://docs.python.org/3/library/tkinter.html
This repo consists few works where a simple GUI was required to show the works in a more user attractive way.

Cannon_Game

This is a simple GUI development of the famous canon game using Tkinter package of python. The GUI interface created can select the Angle of the canon to shoot in a range of 0 to 90 degrees using a slider and select the Strength with which the ball is shot in a continuous scale from 0-200N slider. Goal is to select the correct combination of Strength and Angle such that the Canon Ball flies over the obstacle and land on the target place. The path of the canon ball is rendered on to the canvas. There is the option of taking air friction into consideration while the ball is moving. The script can be further developed to refresh at every attempt rather than drawing on the same canvas.

Simple Calculator design

Thsi is a simple calculator designed using Tkinter that is capable of performing general mathematical operation, i.e. addition, subtraction, division and multiplication. Further, it is capable of performing the square root function, power of 2 and +/- operations. This can be extended for a scientific calculator as well with extra functions.

Simple Analytical Dashboard

Here a simple dashboard is created using tkinter. Data for each company is saved in seperate sheets of an excel file with the company name as the sheet name. The sheet names are loaded and are shown as a drop down menue from which you can select the company we need to explore the details. Each company is provided with main catgories (can be products or services) and sub_catgories with the scores as a percentage for each section. Goal of this GUI is to visulaize the relative proportions of scores of the categories and when clicked on a particular category on the visualization, it should pop up a similar visualization of the sub_categories of it.
For the visualization I chose pie charts and when clicked on a wedge, it draws the second pie chart for sub categories. Following samples shows an example of the data file the script has considered.


The following shows the visualization of the data on the GUI created from Tkinter.


There are alot of open-source tutorials that let you to learn on how to design GUIs using Tkinter. This is ideal when you require a simple GUI to be designed using python, rather than using new frameworks. However, Tkinter does not provide much options to make your GUI more user attractive like using php or javascript.

Number Grid Copy/Paste GUI

GUI Execution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.