[Python-ideas] Method chaining notation

spir denis.spir at gmail.com
Sun Feb 23 12:38:54 CET 2014


On 02/23/2014 06:06 AM, Andrew Barnert wrote:
> All you're arguing here is that PyGtk is badly designed, or that Gtk is not a good match for Python, so you have to write wrappers. There's no reason the wrapper has to be fluent instead of declarative.

That's what I was about to argue. I don't understand why the python wrapper does 
not let you construct widgets in one go, with all their "equipment", since it's 
trivial and standard style in python (except, certainly, for adding sub-widgets 
to containers, as the sub-widgets exist and need to defnied by themselves).

d



More information about the Python-ideas mailing list