Re: Still Loving Python



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
.



Relevant Pages

  • Re: A whole lotta Questions! (so i dont make up 5 threads of 5 diffrent questions)
    ... Eddbmxdude wrote: ... Dammit, typed out a helpful reply unlike the one I posted to start with ... but missed the edit. ... Sorry not typing all that out again! ...
    (rec.sport.unicycling)
  • Re: How do I stop text from writing over other text in word?
    ... > I am typing my term paper. ... Everytime I go back to edit, ...
    (microsoft.public.word.newusers)
  • Re: My Delphi/ADO app needs to mimic VB/Access
    ... >I'm using Topgrid which has powerful DBLookupCombo features. ... >But I can't edit them by typing in directly on the grid when the field is a lookup one. ... If field kind is fkData, I can edit it easily, but this kind of field is phisically in the table and I can't introduce redundant data. ... >Does InfoPower component allow to edit fkLookup fields typing in derectly on their grids? ...
    (borland.public.delphi.database.ado)
  • Re: My Delphi/ADO app needs to mimic VB/Access
    ... I'm using Topgrid which has powerful DBLookupCombo features. ... But I can't edit them by typing in directly on the grid when the field is a lookup one. ... If field kind is fkData, I can edit it easily, but this kind of field is phisically in the table and I can't introduce redundant data. ... Does InfoPower component allow to edit fkLookup fields typing in derectly on their grids? ...
    (borland.public.delphi.database.ado)
  • Re: angled or sloping column headings in Excel
    ... either drag the line on the gauge ... or set the angle by typing or by using the spinner ...
    (microsoft.public.excel.misc)