[wxPython-users] Mixing wxPython with PyObjectiveC

Robin Dunn robin at alldunn.com
Tue Feb 19 16:46:26 PST 2008


Jim Carroll wrote:
> Hi,   wxPython 2.8.6.0  on Mac OS X Leopard
> 
> I'm trying to get some simple wxPython dialogs to show up in response to an item
> being selected from an PyObjectiveC menu.  
> 
> The PyObjectiveC creates a menu in the "Menu Extras" area at the top on the
> right of the mac desktop.  When the user selects from this menu, we want to show
> a wx dialog.
> 
> The two environments are not inter-operating very well though.
> 
> If we use dlg.ShowModal() then:
>   - The dialog does not show up in front of the finder, but underneath any
> current finder windows.
> 
>   - There are also some other strange effects where the ObjectiveC menu items
> are grayed out at times.
> 
> We've also tried creating and destroying an app instance for each dialog... but
> get crashes then.
> 
> Does anyone have advise how to get PyObjectiveC to host some wx dialogs easily?

I haven't heard of anybody doing this, but if you are able to figure it 
out please write it up in the wiki.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list