[PyQt] PyQt documentation where PyQt function is not same as Qt C++ function
hpj at urpla.net
Mon Nov 27 17:48:51 GMT 2017
On Montag, 27. November 2017 16:59:54 J Barchan wrote:
> Not only am I new to PyQt, but to Python too. I had only just clicked that
> the reason for these extra return values is that they are Reference/VAR
> parameters in the C++ (which I hadn't particularly noticed). Do you mean,
> Python does not have these, you have to return these Tuples in the return
> result as a way of achieving the same effect? OMG, it's just horrible... :)
That's a matter of taste, I guess.
Technically, these references are "address off" operators. Addresses of
variables just make no sense in dynamic languages.
I find it much more natural to *supply* and *return* multiple values then
playing games with references. But that's just my opinion.
More information about the PyQt