I have a complex gui lots of widgets and I need to add sizers so that
it adjust... Im looking for a good and simple generator (commercial or
free) ... I would love if I could just place my widgets and the
program generated the code and sizer code... Does something like this
exist ... I am using python 2.6 if that matters...
The typical ones I hear about are wxFormBuilder, DataBlocks(?) and wxGlade. You could also use XRCed which comes with wxPython.
···
On Sat, Nov 5, 2011 at 2:04 PM, aikidoguy clayrichmond1@gmail.com wrote:
I have a complex gui lots of widgets and I need to add sizers so that
it adjust… Im looking for a good and simple generator (commercial or
free) … I would love if I could just place my widgets and the
program generated the code and sizer code… Does something like this
exist … I am using python 2.6 if that matters…
Mike Driscoll
I guess you meant DialogBlocks
Andrea.
“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/
···
On 5 November 2011 22:00, Mike Driscoll wrote:
On Sat, Nov 5, 2011 at 2:04 PM, aikidoguy clayrichmond1@gmail.com wrote:
I have a complex gui lots of widgets and I need to add sizers so that
it adjust… Im looking for a good and simple generator (commercial or
free) … I would love if I could just place my widgets and the
program generated the code and sizer code… Does something like this
exist … I am using python 2.6 if that matters…
The typical ones I hear about are wxFormBuilder, DataBlocks(?) and wxGlade. You could also use XRCed which comes with wxPython.
I think you’re right. I knew that didn’t sound right.
···
On Sat, Nov 5, 2011 at 3:02 PM, Andrea Gavana andrea.gavana@gmail.com wrote:
On 5 November 2011 22:00, Mike Driscoll wrote:
On Sat, Nov 5, 2011 at 2:04 PM, aikidoguy clayrichmond1@gmail.com wrote:
I have a complex gui lots of widgets and I need to add sizers so that
it adjust… Im looking for a good and simple generator (commercial or
free) … I would love if I could just place my widgets and the
program generated the code and sizer code… Does something like this
exist … I am using python 2.6 if that matters…
The typical ones I hear about are wxFormBuilder, DataBlocks(?) and wxGlade. You could also use XRCed which comes with wxPython.
I guess you meant DialogBlocks
Andrea.
“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/
Mike Driscoll
This may be useful:
http://wiki.codeblocks.org/index.php?title=Comparison_of_wxSmith_features
Michael
···
On 11/5/2011 2:04 PM, aikidoguy wrote:
I have a complex gui lots of widgets and I need to add sizers so that
it adjust... Im looking for a good and simple generator (commercial or
free) ... I would love if I could just place my widgets and the
program generated the code and sizer code... Does something like this
exist ... I am using python 2.6 if that matters...
Boa Constructor allows you to first place a panel, then place sizers, then place widgets into those sizers and set the sizers’ rules for sizing those widgets. It cannot just guess a sizer layout based on you manually putting widgets on a frame or panel–I don’t think any wxPython GUI builder can–but the sizer support is fairly intuitive; it draws a yellow border to indicate the sizer and a green one for the widgets within it, and you can edit the sizing rules via a GUI interface, and then all the code is generated for you. It works best under Windows. If you need help with trying it, email me off list.
Che
···
On Sat, Nov 5, 2011 at 3:04 PM, aikidoguy clayrichmond1@gmail.com wrote:
I have a complex gui lots of widgets and I need to add sizers so that
it adjust… Im looking for a good and simple generator (commercial or
free) … I would love if I could just place my widgets and the
program generated the code and sizer code… Does something like this
exist … I am using python 2.6 if that matters…
I thought I saw a YouTube video showing the Dabo package having a
formbuilder. Dabo uses a wxPython GUI as a front end. What version of
wxPython or how current Dabo is I don't know.
You've gotten a number of pointers for options. However:
If you have a lot of widgets, they likely follow some patterns, and in this case, you may be better off writing code that generates your GUI, rather than using a visual designer.
Sizers are well suited to the code-generated layout approach, and in general, my experience is that it can take longer to make the first version with a the code generated approach, but it's much easier to re-factor it in the future.
That being said, the visual designers can help you figure out sizer code when you are new to it.
Did anyone mention wxDesigner yet? I haven't used to for years, but it was pretty nice back in the day.
-Chris
···
On 11/5/11 12:04 PM, aikidoguy wrote:
I have a complex gui lots of widgets and I need to add sizers so that
it adjust... Im looking for a good and simple generator (commercial or
free) ... I would love if I could just place my widgets and the
program generated the code and sizer code... Does something like this
exist ... I am using python 2.6 if that matters...
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov