Re: Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

Ronald Oussoren <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
On 9 Jul, 2013, at 14:56, Kevin Walzer <[email protected]> wrote:

> On 7/9/13 5:46 AM, Paul Wiseman wrote:
> 
>> But would anyone know if it would be possible to implement these
>> platform specific bits whilst using PySide, using ctypes / pyobjc etc?
>> (window animations, mac sheets etc.)
>> 
>> 
> 
> This SO page has a few different examples of flipping windows in Cocoa:
> 
> http://stackoverflow.com/questions/2490069/flipping-a-window-in-cocoa
> 
> I have no idea how easy it is to call Objective-C using a C API like ctypes. Perhaps Ronald can weigh in on that.

Shouldn't be that hard, but I'd use PyObjC for that :-)

What I don't know is how much Qt would like you tweaking the window state like this, and if it even has methods to retrieve the native widgets that are backing the Qt ones (that is, can you even get the NSWindow* for a Qt window object?).

Ronald
_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.