简体   繁体   中英

Tkinter templating

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.

There is nothing that lets you specifically design for tkinter, there is no graphical design tool for it and it doesn't support CSS.

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 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM