Thread: [Pyobjc-dev] Proof of concept - Cocoa Python applet with Interface Builder!
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@or...> - 2002-06-18 22:08:53
|
Folks, we've just succeeded in creating the first Python applet (we think, you can never be sure about the "first" bit:-) that is awakened from a NIB file built with Interface Builder. The code is all pretty messy (both the Python code and the ObjC code), but at least it seems to work. If you want to have a look at this: get http://www.cwi.nl/ftp/jack/python/mac/nibpythonexample.tar.gz, read the README and play away! If had very limited success (none, actually) reaching the pyobjc crowd the last few weeks, so I suggest that discussion of this beast take place on pyt...@py... with a cc to Pyobjc- de...@li..., for the time being. -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |
From: Steven M. <sd...@ma...> - 2002-06-26 16:09:55
|
Added Bill Bumgarner to Cc: On Wed, 19 Jun 2002, Jack Jansen wrote: > Folks, > we've just succeeded in creating the first Python applet (we > think, you can never be sure about the "first" bit:-) that is > awakened from a NIB file built with Interface Builder. > > The code is all pretty messy (both the Python code and the ObjC > code), but at least it seems to work. > > If you want to have a look at this: get > http://www.cwi.nl/ftp/jack/python/mac/nibpythonexample.tar.gz, > read the README and play away! > > If had very limited success (none, actually) reaching the pyobjc > crowd the last few weeks, so I suggest that discussion of this > beast take place on pyt...@py... with a cc to Pyobjc- > de...@li..., for the time being. Jack, I'm still here and very interested! I finally quit my job at UVA, and I've just gotten around to switching my email subscriptions to another account ( either sd...@ma... or ma...@cs... ) and getting it hooked up to OSX's mail client ( as well as moving lots of work onto my personal laptop from my former office machines ). I'm taking some time off -- I'm about to leave to go camping at the beach with my two boys. When I get back (besides job hunting) I'm going to get back into macpython and pyobjc in a major way -- I should have a bit more time to hack on it. CC: to bbum -- Bill's the email admin. on the pyobjc mailing list -- Bill: if you don't have time to handle it you could transfer it to me. But maybe because the list has been so quit, he just hasn't looked it the inbox for a while. ( alternatives: just make the list open ? or now that it's getting more mailstream for macpython, just switch to macpython list ? ) I'll excitedly try out all this stuff as soon as I get back from the beach! -- Steve |
From: Bill B. <bb...@co...> - 2002-06-26 16:33:06
|
I believe there is value in keeping the NIB/ObjC discussion on pyobjc simply because the discussion is so specific to a particular aspect of a very particular platform. But, whatever, I have almost zero time to devote to this stuff right now and, as such... Tag! Steve! You're it! I am embarrassed to admit that I currently have *no idea* what the admin password is to the pyobjc mailing list. I will ping the SF administrators and see what can be done -- when it is resolved, Steve can take admin. b.bum On Wednesday, June 26, 2002, at 12:07 PM, Steven Majewski wrote: > > Added Bill Bumgarner to Cc: > > On Wed, 19 Jun 2002, Jack Jansen wrote: > >> Folks, >> we've just succeeded in creating the first Python applet (we >> think, you can never be sure about the "first" bit:-) that is >> awakened from a NIB file built with Interface Builder. >> >> The code is all pretty messy (both the Python code and the ObjC >> code), but at least it seems to work. >> >> If you want to have a look at this: get >> http://www.cwi.nl/ftp/jack/python/mac/nibpythonexample.tar.gz, >> read the README and play away! >> >> If had very limited success (none, actually) reaching the pyobjc >> crowd the last few weeks, so I suggest that discussion of this >> beast take place on pyt...@py... with a cc to Pyobjc- >> de...@li..., for the time being. > > Jack, > > I'm still here and very interested! > > I finally quit my job at UVA, and I've just gotten around to switching > my email subscriptions to another account ( either sd...@ma... or > ma...@cs... ) and getting it hooked up to OSX's mail client > ( as well as moving lots of work onto my personal laptop from my > former office machines ). > > I'm taking some time off -- I'm about to leave to go camping at the > beach with my two boys. When I get back (besides job hunting) I'm > going to get back into macpython and pyobjc in a major way -- I should > have a bit more time to hack on it. > > CC: to bbum -- Bill's the email admin. on the pyobjc mailing list -- > Bill: if you don't have time to handle it you could transfer it to me. > But maybe because the list has been so quit, he just hasn't looked it > the inbox for a while. ( alternatives: just make the list open ? or > now that it's getting more mailstream for macpython, just switch to > macpython list ? ) > > I'll excitedly try out all this stuff as soon as I get back from the > beach! > > -- Steve > > > > b.bum ....lying there snoring, breath smelling like a 1948 buick. |
From: Steven M. <sd...@ma...> - 2002-07-14 15:33:30
|
Jack, I tried out your nibpythonexample code: I got around the problem with the scripts directory that's already been noted. On trying to build the CurrencyConverterPY, I get: Can't get DLOG resource with id = 260 Do you happen to know where that resource is supposed to come from ? It's nice to see that my pyobjc "HelloWorld" works by dropping the script on the Python.app icon, as well as some Carbon examples like EasyDialogs. Donovan said that running from the Framework and/or Bundled App fixes some of the other problems I ran into with Cocoa (like the Menu problems caused by not having a MainMenu.nib) -- I'll go back and give a few of my failed experiments another try. I've started doing diffs of your modified pyobjc against cvs and will review the patches ASAP. -- Steve |