J
Joe Junior
Pressing keys on a keyboard was never the hard part of coding.
Nor the fun part.
Joe
Pressing keys on a keyboard was never the hard part of coding.
With the themed widget introduced in Tk 8.5, Tkinter is now a peer to
the other GUI toolkits in most respects, surpasses them in some (canvas
widget), and lags behind in just two areas: printing (several
platform-specific solutions but no cross-platform API) and HTML display
(a few extensions but no standard widget set).
I disagree with you. It's not hard, and I apologise if its ever sounded that way, but it is the fun part for me. I love spending hours(days even) debugging.
Well, thanks all for depressing me. Time to give up programming and find something else to do with my life.
Nor the fun part.
lol! You made my day. :-D
Well, you can always ignore any and all graphical design tools if
you're working alone. And write all those Xs and Ys and widths and
heights all day long. None of the mentioned graphical toolkits forces
you to use them.
And if you like debugging, GUI is not the main dish! Try networking
and concurrent programming, loads and loads of fun!
Of course, that's lots of other unnecessary time consuming stuff you
can do. You just have to use your imagination.
Joe
When John Henry was a little baby,
Sittin' on his daddy's knee,
He Telneted to the server with a tiny bit of code, and said:
Emacs will be the death of me, Lord, Lord!
Emacs will be the death of me.
Well John Henry said to the captain:
Go on and bring your toolkit round,
I'll pound out your GUI with a hundred thousand keystrokes,
And throw that GUI Builder down, Lord, Lord!
I'll throw that GUI Builder down.
Well John Henry hammered on his keyboard,
Till is fingers were bloody stumps,
And the very last words that were entered in his .blog were:
GUI Builders are for chumps, Lord, Lord!
Those GUI builders are for chumps.
I disagree with you. It's not hard, and I apologise if its ever sounded
that way, but it is the fun part for me. I love spending hours(days
even) debugging.
Well, thanks all for depressing me. Time to give up programming and find
something else to do with my life.
I disagree with you. It's not hard, and I apologise if its ever sounded that way, but it is the fun part for me. I love spending hours(days even) debugging.
Well, thanks all for depressing me. Time to give up programming and find something else to do with my life.
So, you are recommending not to code as much? :'( That is what
depresses me. These "tools" depress me!
I don't understand why people don't want to code. It's time
consuming: But that's the point!!! It *should* be time consuming. It
*should* take time to make programs. Speed isn't the main thing, fun
is. And these "tools" are taking the fun away.
(e-mail address removed) writes:
Which criterion is more important to *you* — fun, or efficiency?
Which criterion is more important to *you* — fun, or sensibility?
Which criterion is more important to *you* — fun, or popularity?
Who has said that's not possible? If you find using a tool to be both
fun and productive, use it and be happy. If not, use something else.
--
\ “They can not take away our self respect if we do not give it |
`\ to them.” —Mohandas Gandhi |
_o__) |
Ben Finney
Also, this thread hasn't been a troll. I'm completely serious. Why is it when I ask things like this people think I'm trolling??
of things, and not busy-code, which is what gui code becomes. Much
of it is boiler-plate, cut and pasted, etc.
If much of the code for a GUI is boiler-plate, busy-code etc. than I
would suggest that the framework is not really as efficient as it
should be.
The main difference between wx and qt is that qt looks native on every platform
while wx *is* native on every platform (it uses native controls wherever
possible). This means that wx integrates into the OS better, but your also more
likely to need OS-specific tweaks in wx, at least from my experience from a few
years ago.
For someone who is GUI-challenged, can you please expand on that a bit?
--
Sure. Every platform provides its own GUI library (Cocoa on Mac OS X,
Win32 on Windows). Other programs that want to hook into yours, such
as screen readers, are familiar with the platform's native GUI
elements- it knows what a Win32 combo box is, and it knows how to read
the text inside it.
The other way to make a GUI is to take a blank canvas and draw on it
yourself. This is more flexible and provides a more consistent
experience across platforms, but unless you specifically go out of
your way to provide hooks for other programs to jump in, all they see
is a bunch of pixels on the screen. In addition, drawing your own
stuff won't necessarily give you the "normal for the operating system"
behavior on other things, like tab behavior. It's possible for
non-native GUI environments to mimic this behavior (and QT does a
pretty good job of this), but there's always going to be little things
that seem a bit off.
Thanks for the explanation. However I am not able to square it up:
You seem to be saying that QT draws on a blank canvas rather than calling out to the OS library.
You also seem to be saying that QT (for the most part) Does the Right Thing for each platform.
--
Sure. Every platform provides its own GUI library (Cocoa on Mac OS X,
Win32 on Windows). Other programs that want to hook into yours, such
as screen readers, are familiar with the platform's native GUI
elements- it knows what a Win32 combo box is, and it knows how to read
the text inside it.
The other way to make a GUI is to take a blank canvas and draw on it
yourself. This is more flexible and provides a more consistent
experience across platforms, but unless you specifically go out of
your way to provide hooks for other programs to jump in, all they see
is a bunch of pixels on the screen. In addition, drawing your own
stuff won't necessarily give you the "normal for the operating system"
behavior on other things, like tab behavior. It's possible for
non-native GUI environments to mimic this behavior (and QT does a
pretty good job of this), but there's always going to be little things
that seem a bit off.
The situation is a bit more complicated because QT is the native
toolkit on KDE, so in that environment, QT will be more "correct" than
wx, which would be using GTK if present and plain X11 if it isn't.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.