[Pythonmac-SIG] app on top

2005-05-31 Thread thor
Hi list This might be an OS question, rather than a Python one, but I am wondering if there is a way to tell an application to be always on top (or in front) of other applications running. I'd like to create a GUI in python and it should stay on top of other background applications to which the

Re: [Pythonmac-SIG] app on top

2005-05-31 Thread Henning.Ramm
>This might be an OS question, rather than a Python one, but I am >wondering if there is a way to tell an application to be always on >top (or in front) of other applications running. >I'd like to create a GUI in python and it should stay on top of >other background applications to which the GUI co

[Pythonmac-SIG] macho_standalone with imported module

2005-05-31 Thread Karl Merkley
I am playing with macho_standalone to see how it can help me build a bundle. One of the issues that I've run into is that my C++ application imports modules at run time. Is there anyway to tell macho_standalone that a particular .so file needs to be examined and dependencies need to b

Re: [Pythonmac-SIG] macho_standalone with imported module

2005-05-31 Thread Bob Ippolito
On May 31, 2005, at 9:20 AM, Karl Merkley wrote: > I am playing with macho_standalone to see how it can help me > build a bundle. One of the issues that I've run into is that my C++ > application imports modules at run time. Is there anyway to tell > macho_standalone that a particular .so file

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-05-31 Thread altern
[EMAIL PROTECTED] wrote: > On May 29, 2005, at 7:38 PM, Lance Boyle wrote: > > >>This sounds like a good idea to me. The Mathematica editor does this >>and I can't remember any problems caused by it. >> >>Jerry >> >> >>On May 28, 2005, at 5:03 AM, altern wrote: >> >> >> >>>hi >>> >>>maybe a bit l

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-05-31 Thread Paul Berkowitz
On 5/31/05 11:15 AM, "altern" <[EMAIL PROTECTED]> wrote: > btw, still i havent been able find out how to type [ or { on Pyoxide > with my spanish keyboard. I have to use alt+` and alt+´ to get them > but those keys dont seem to produce any output on pyoxide. Worst come to worst, add an English

Re: [Pythonmac-SIG] Apple's python extensions into Quartz2D

2005-05-31 Thread Chris Barker
Robert Kern wrote: > I disliked the implementation (undocumented, closed source SWIG bindings > are largely unusable), so I wrote my own using Pyrex. I call it, > unimaginatively, ABCGI, A Better CoreGraphics Interface. It is part of > Kiva, Enthought's graphics library, and has served as "groun

[Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread gandreas
So PyOXIDE is based on the traditional way to embed python in an application (explicitly calling the python APIs to access and call stuff), and this worked reasonably well.  For example, it runs various scripts at startup, which register various callbacks to handle things like new documents, new in

Re: [Pythonmac-SIG] Apple's python extensions into Quartz2D

2005-05-31 Thread Robert Kern
Chris Barker wrote: > Robert Kern wrote: > >>I disliked the implementation (undocumented, closed source SWIG bindings >>are largely unusable), so I wrote my own using Pyrex. I call it, >>unimaginatively, ABCGI, A Better CoreGraphics Interface. It is part of >>Kiva, Enthought's graphics library,

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Bob Ippolito
On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: > So PyOXIDE is based on the traditional way to embed python in an > application (explicitly calling the python APIs to access and call > stuff), and this worked reasonably well. For example, it runs > various scripts at startup, which

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread David Reed
On May 31, 2005, at 4:51 PM, Bob Ippolito wrote: > > On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: > >> (* - I've downloaded and installed PyObjC 1.3.6 twice but for some >> reason it doesn't want to use it: >> >> gandreas% /Library/Frameworks/Python.framework/Versions/Current/bin/ >>

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread gandreas
On May 31, 2005, at 3:51 PM, Bob Ippolito wrote: > > On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: > > >> So PyOXIDE is based on the traditional way to embed python in an >> application (explicitly calling the python APIs to access and call >> stuff), and this worked reasonably well.

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Bob Ippolito
On May 31, 2005, at 2:36 PM, [EMAIL PROTECTED] wrote: > > On May 31, 2005, at 3:51 PM, Bob Ippolito wrote: > > >> >> On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: >> >> >> >>> So PyOXIDE is based on the traditional way to embed python in an >>> application (explicitly calling the python

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread gandreas
On May 31, 2005, at 4:54 PM, Bob Ippolito wrote: >> >>> Somewhere in PyOXIDE you're not managing interpreter state >>> correctly, probably not in the code you've pasted, I don't have >>> time to look into it... >>> >>> >> >> Obviously you've got next week's session to get prepared for, but

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Bob Ippolito
On May 31, 2005, at 3:41 PM, [EMAIL PROTECTED] wrote: > > On May 31, 2005, at 4:54 PM, Bob Ippolito wrote: > > >>> >>> Somewhere in PyOXIDE you're not managing interpreter state correctly, probably not in the code you've pasted, I don't have time to look into it... >>

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Bob Ippolito
On May 31, 2005, at 2:27 PM, David Reed wrote: > > On May 31, 2005, at 4:51 PM, Bob Ippolito wrote: > > >> >> On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: >> >> >>> (* - I've downloaded and installed PyObjC 1.3.6 twice but for some >>> reason it doesn't want to use it: >>> >>> gandreas%

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Michael Davidson
I just downloaded PyObjC from sourceforge (1.3.6 installer package for python 2.4.1 on OSX 10.4), and I see: >>> objc.__version__ '1.3.5' >>> objc.__file__ '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PyObjC/objc/__init__.pyc' >>> I had no previous version insta

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread David Reed
On May 31, 2005, at 6:54 PM, Bob Ippolito wrote: > > On May 31, 2005, at 2:27 PM, David Reed wrote: > > >> >> On May 31, 2005, at 4:51 PM, Bob Ippolito wrote: >> >> >> >>> >>> On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] wrote: >>> >>> >>> (* - I've downloaded and installed PyObjC 1.3.6 tw

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Bob Ippolito
On May 31, 2005, at 4:13 PM, David Reed wrote: > > On May 31, 2005, at 6:54 PM, Bob Ippolito wrote: > > >> >> On May 31, 2005, at 2:27 PM, David Reed wrote: >> >> >> >>> >>> On May 31, 2005, at 4:51 PM, Bob Ippolito wrote: >>> >>> >>> >>> On May 31, 2005, at 1:17 PM, [EMAIL PROTECTED] w

Re: [Pythonmac-SIG] PyObjC vs "old school" embedding

2005-05-31 Thread Ronald Oussoren
On 31-mei-2005, at 22:17, [EMAIL PROTECTED] wrote: So PyOXIDE is based on the traditional way to embed python in an application (explicitly calling the python APIs to access and call stuff), and this worked reasonably well. For example, it runs various scripts at startup, which register v