Why a post about UI, GUI makers, etc. without a single screenshot in the github's README.md??<p>Please give us a mean to understand in 10 seconds what it's about, by adding a screenshot or an animated screenshot (<a href="http://www.cockos.com/licecap" rel="nofollow">http://www.cockos.com/licecap</a> is cool for this) :)
tkui is one of my joke side projects but it does run and serve a purpose. I was trying to make some quick GUIs in Python for my own use but always restarting the program when small details in the layout changes makes for a slow workflow (closing and reopening the program).<p>So I wanted to use a GUI editor. I don't remember exactly but I think I didn't find anything that suited (I know I at least looked online for a while). So I decided to make my own, which became tkui.<p>Now the editor is itself a GUI so it'd be awfully helpful to have a GUI editor to make it. Because time travel isn't an option, I started from scratch and tried to add useful elements for create tkui itself. Of course, those elements are also the elements of tkui. So now tkui is a tkui maker.<p>If anyone have suggestions for "build orders" for recreating similar programs from scratch, I'd be interested to know.<p>I tried to make it so I need to restart tkui/the current project as little as possible. I also tried to the keep the project small, although with both dependencies, its getting larger.
I use wxFormBuilder and export the GUI using XRC (instead of Python). I know it's not exactly 'dynamic', but it's pretty close.<p>First I build my whole GUI project with all the widgets in wxFormBuilder, and export the project as XRC (xml representation of the GUI widgets and hierarchy).<p>Then My wxAPP (Pyhton or C++) loads the XRC and builds every widget contained contained within my project. This is done by a simple call to 'xrc.XmlResource('mygui.xrc')'<p>This makes it super easy to maintain and test my GUI changes, without having to sift through a bunch of 'AddSizer...' GUI specific code. Building a GUI in code and maintaining it adds quite a cost and becomes quite tedious quickly.<p>wxFormBuilder does tend to crash once in a while, but otherwise allows for a fairly smooth GUI building experience, while decoupling your App code from your GUI 'scaffolding' concerns.
"idle -n" !?<p>(In case I am being too obscure: Run idle in "no subprocess" mode and then any TKinter widgets your script creates partake of the IDLE editor's Tk mainloop. You get instant dynamic GUI. Awesome for RAD.)<p>;-D
The name is a bit misleading as it recalls Tekui which is a (very nice IMO) LUA GUI extension.
<a href="http://tekui.neoscientists.org/screenshots.html" rel="nofollow">http://tekui.neoscientists.org/screenshots.html</a>