Re: Still Loving Python
- From: Peter Maas <peter.maas@xxxxxxxxxxxxx>
- Date: Tue, 13 Dec 2005 23:58:23 +0100
Mike Meyer schrieb:
I agree. I've tried a number of different gui builders. I find it much faster to type something like:
ui.add_button("New", self.new) ui.add_button("Open", self.open) ui.add_button("Save", self.save) ui.add_button("Save As", self.save_as)
Than have to drag four menu buttons from a pallette, then open the properties of each one to edit the text of the button and the callback entry (or whatever dance they need so you can enter the required text).
If you design a moderately complex UI a designer will be faster. It's not the speed of typing vs. dragging that matters. You see the result instantly and don't have to start your program, look, type code, start again and so on. A GUI builder is more pleasant to work with, at least with a good one like Delphi or Qt designer.
It's not a good idea to do everything in code. I find it tiresome to create menus and toolbars by writing code. It's not as bad as creating an image by typing addpixel(x,y,color) a million times but it comes close.
Creating visual resources visually is the direct way, creating them in code is a detour. Code is too lengthy and too versatile for such a job.
-- Peter Maas, Aachen, Germany .
- Follow-Ups:
- Re: Still Loving Python
- From: Magnus Lycka
- Re: Still Loving Python
- From: Mike Meyer
- Re: Still Loving Python
- References:
- Still Loving Python
- From: Kamilche
- Re: Still Loving Python
- From: Lawrence Oluyede
- Re: Still Loving Python
- From: Ivan Voras
- Re: Still Loving Python
- From: Jérôme Laheurte
- Re: Still Loving Python
- From: Mike Meyer
- Still Loving Python
- Prev by Date: Re: Which Python web framework is most like Ruby on Rails?
- Next by Date: Re: Still Loving Python
- Previous by thread: Re: Still Loving Python
- Next by thread: Re: Still Loving Python
- Index(es):
Relevant Pages
|