+ 4

How to create a GUI TOOLKIT (for Python)

Hei there are a lot of Gui Toolkits out there for example Tkinter. But how do you create your own modules that create a GUI. Or does anyone have a source where i can find the Tkinter Toolkit code? Help is much appreciated z77

6th Mar 2017, 3:40 PM
z77
6 Réponses
+ 13
It think that you cannot build a GUI with Python: it's require low level access to system ressources, and need to be close of OS and hardware ( graphics cards ). Usually, those kind of GUI frameworks provided as module for Python, are mainly written in C/C++ ( at least compiled languages :P ). You can only emulate some, because you need a GUI to be able to draw something else than text on screen ^^
7th Mar 2017, 5:32 AM
visph
visph - avatar
+ 9
Oh man, it reeeeally depends on what you plan to achieve, what platform will you be using (desktop/mobile) and what OS (Windows/Linux/Android/iOS) - those would be first things to establish before digging deeper into it.
6th Mar 2017, 4:43 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 9
Necessarly: you can... If you're interrested by the ( probably lot of ) things to know about it, you may look at open source projects in Linux world: there are many offers available in active development, and some are ported on other OS, but usually, other OS provide and favorize the built-in GUI ;)
7th Mar 2017, 12:39 PM
visph
visph - avatar
+ 4
First learn and use Python #likeaboss. Then IDK. Maybe search the net?
6th Mar 2017, 4:24 PM
Ali Emir Kızıl
Ali Emir Kızıl - avatar
+ 1
desktop windows...and i already searched the net only find already existing one
6th Mar 2017, 7:36 PM
z77
+ 1
visph, so you think its possible with c/c++
7th Mar 2017, 12:35 PM
z77