[Tutor] Pygubu designer question
Alan Gauld
alan.gauld at yahoo.co.uk
Tue Feb 1 11:55:25 EST 2022
On 01/02/2022 14:58, Dennis Lee Bieber wrote:
> I do take exception to Mr. Gauld's statement that ALL GUIs function via
> callbacks.
Mea culpa!
In fact the original Win32 GUI API didn't include a callback mechanism
either, you had to write an explicit event reading loop and call the
handlers.
> While it is the norm for tk, GTK, and wX
But it is the norm for *almost* all GUI frameworks.
Not just Python ones either, Cocoa, Windows .NET, Java, ...
all use callbacks. And indeed many other frameworks also use
a callback mechanism, notably twisted for network programming
in the Python world.
But, yes its true, not all GUIS use callbacks.
I do apologize. :-)
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list