Tkinter templating

Viewed 179

I there a website or application that lets me design my interface for tkinter before I actually code it? I want a way to be able to find out what looks good without having to mess with my code every time I want to move a button.

1 Answers

There are various GUI builder applications for Tkinter:

While GUI design tools are useful you will still need to alter your interface when you add UI functionality and unplanned features.

Consider following an interface first design pattern, designing your application in a vector drawing tool like adobe illustrator, affinity designer or a more focused UI design tool like sketch or Akira.

"Convert" that design into your interface either in code or using a GUI builder application mentioned above and then build your application around it.

If you have a solid understanding of how your app will function and how it will be used, the interface shouldn't need to change during development of the functionality, remember that you can use mock data to "fill" the app with dummy content if needed.

If this approach is unsuitable then maybe you should consider using something like pywebview that uses html and so can benefit from WYSIWYG or straight forward browser testing before being used in your interface.

Related