First time here? Check out the FAQ!
1

Does WingWare have templates for making GUI programs?

  • retag add tags

I might be doing some python soon, but it would be making GUI projects. Keeping it simple for the most part. But Python doesn't come with a built in Form Designer, so if I have 40 or so GUI projects, would I have to hard code myself the Forms 40 times? Writing the same code 40 times?

Or does a guy write the code to bring up a window and then is there a way to save that as a template or something, so when you start a new project you just call up the template and just take it from there?

357mag's avatar
51
357mag
asked 2023-04-23 19:15:38 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Wing doesn't provide any templates for GUI development. You can use wxPython, PyQt/PySIde with Qt, Tkinter, or other UI development framework with Wing and some of those provide templates and GUI builders, but we don't replicate those.

Depending on what you're doing, particularly if making many similar forms, you may want to obtain or write a module for yourself that builds the form UI automatically from a high-level description of the form data and UI elements. That may actually be easier than using templates or laying out and implementing forms individually. I don't have any specific suggestions for this, though, so you would have to search based on which GUI framework you plan to use.

Wingware Support's avatar
3.9k
Wingware Support
answered 2023-04-24 07:15:23 -0500
edit flag offensive 0 remove flag delete link

Comments

I'm just a hobbyist doing programming just as a side interest. I would not know what to do with making my own module.

357mag's avatar 357mag (2023-04-24 09:13:51 -0500) edit

In that case, probably the best first step is just to find some example code and work from that. Then possibly also check out any GUI builders for the GUI toolkit that you end up choosing. I tend to prefer writing code to using a GUI builder because it just seems simpler to me. Trying both would help you decide which you prefer also.

Wingware Support's avatar Wingware Support (2023-04-24 09:37:25 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer