Christopher Barker wrote:
> Peter Hanson, on the wxPython list, seems to have identified a bug in the
> gestalt module, that may be a Carbon issue. It's a bit of an unusual case: it
> freezes up wxPython, when wx is called from other than the main thread. Robin
> Dunn suspects that it's a Carbo
On Friday, February 05, 2010, at 01:01PM, "has" wrote:
>Christopher Barker wrote:
>
>> Peter Hanson, on the wxPython list, seems to have identified a bug in the
>> gestalt module, that may be a Carbon issue. It's a bit of an unusual case:
>> it freezes up wxPython, when wx is called from other
On Feb 5, 2010, at 12:24 PM, Ronald Oussoren wrote:
>> Is wx/Mac not already built upon Carbon/Cocoa APIs? Cocoa's GUI APIs
>> certainly aren't thread-safe - all calls must go through the main thread -
>> and I doubt Carbon's GUI APIs are any different. [...]
>
> That's what I thought as well,
has wrote:
Is wx/Mac not already built upon Carbon/Cocoa APIs?
umm -- I'm not sure what that means... anyway:
The current wxMac is built on Carbon. The "unstable" version is built on
Cocoa. The Cocoa version does not yet have wxPython bindings, and I'm
not sure when it will be considered pro
I'd like to perform some window management via appscript on Mac OSX
(10.6.2).
This is pretty straightforward using AppleScript (see code#1 below).
However, my attempts to perform the same tasks in python appscript have
failed:
1. get bounds of display
2. get bounds of foreground process
I c
On 5 feb 2010, at 18:59, Christopher Barker
wrote:
> Cocoa's GUI APIs
certainly aren't thread-safe - all calls must go through the main
thread - and I doubt Carbon's GUI APIs are any different.
Well, we need to be clear about what thread-safe means. None of the
wx back-ends are thre
In article <4b6c8e7b.8000...@gmail.com>,
Todd wrote:
> I'd like to perform some window management via appscript on Mac OSX
> (10.6.2).
>
> This is pretty straightforward using AppleScript (see code#1 below).
> However, my attempts to perform the same tasks in python appscript have
> failed:
>
Ned,
Thanks! That unblocked me. I changed my code to enumerate over the
applications, and then create an app instance from that.
// get the front most app from system events
se_app_name = se.processes...name.get()
// get the actual application
real_app = app(se_app_name)
// get the windows fo