[PyQt] Type casting

Christian chrisde88 at yahoo.de
Tue Mar 31 16:06:46 BST 2009


Hi Rendezvous,
that's not necessary and therefore not possible in python due to the 
concept of duck typing. That means not the variable itself determines 
the type, but the content.

Or do you mean something different?

Christian


Rendezvous wrote:
> How does one type cast in PyQt4? For example, a QObject to a QAction?
>
>
>       
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>   



More information about the PyQt mailing list