Thread: [Pyobjc-dev] Re: Pyobjc-dev digest, Vol 1 #373 - 3 msgs
Brought to you by:
ronaldoussoren
From: Gary R. <gro...@tr...> - 2003-10-06 14:02:15
|
I thought this was interesting. too bad GnuStep's PyObjC connection is languishing or it might have provided a quicker path to x-platform. --Gary > > --__--__-- > > Message: 2 > Date: Sun, 5 Oct 2003 18:02:25 -0400 > From: Bob Ippolito <bo...@re...> > To: pyo...@li... > Subject: [Pyobjc-dev] GNUStep Renaissance - rocks in PyObjC! > > GNUStep Renaissance ( http://www.gnustep.it/Renaissance/ ) is basically > a very terse XML way of describing interfaces, as a cross-platform > replacement for nib files. It works perfectly in PyObjC (even outlets > seem to work with AutoBaseClass and such). Although I don't > particularly care about cross-platform at this point, it's very useful > for dynamically defining an interface. > > Basically what I'm doing with a friend of mine is adding a drawer to > DrawBot, where the drawer's contents are defined dynamically by the > Python code. What this drawer will be used for is taking the constants > out of the code and assigning them to sliders, checkboxes, color wells, > etc. I spent a few hours looking around for how to create Cocoa > interfaces by hand, and it seems entirely possible, but I couldn't find > out how to do the automatic layout stuff. Renaissance, which I found > from a mailing list post on Google when poking around for nib-less > Cocoa information, solves this problem elegantly and easily from > PyObjC, especially because constructing XML from Python is cake. I'm > just starting the implementation, so I don't know if I'll have to > modify Renaissance for my purposes (hopefully not), but I'm extremely > pleased so far and I figured this was worth pointing out. > > -bob > > > > > End of Pyobjc-dev Digest > |
From: Bob I. <bo...@re...> - 2003-10-06 14:08:10
|
On Monday, Oct 6, 2003, at 10:02 America/New_York, Gary Robinson wrote: > I thought this was interesting. too bad GnuStep's PyObjC connection is > languishing or it might have provided a quicker path to x-platform. All it needs is a maintainer, feel free to volunteer ;) -bob |
From: Gary R. <gro...@tr...> - 2003-10-06 14:16:44
|
>> I thought this was interesting. too bad GnuStep's PyObjC connection is >> languishing or it might have provided a quicker path to x-platform. > > All it needs is a maintainer, feel free to volunteer ;) I wish we had the bandwidth to take it on!!!! But we're just flat-out against the wall trying to get done the stuff we absolutely must get done ASAP. We're currently looking at PythonCard as an alternative strategy for our software. Our UI needs are currently pretty simple, so we're thinking it may fit the bill. --Gary -- Putting http://wecanstopspam.org in your email helps it pass through overzealous spam filters. Gary Robinson CEO Transpose, LLC gro...@tr... 207-942-3463 http://www.transpose.com http://radio.weblogs.com/0101454 |
From: Ronald O. <ous...@ci...> - 2003-10-06 17:09:50
|
On 6 okt 2003, at 16:17, Gary Robinson wrote: >>> I thought this was interesting. too bad GnuStep's PyObjC connection >>> is >>> languishing or it might have provided a quicker path to x-platform. >> >> All it needs is a maintainer, feel free to volunteer ;) > > I wish we had the bandwidth to take it on!!!! But we're just flat-out > against the wall trying to get done the stuff we absolutely must get > done > ASAP. I am, very slowly, working on a GNUstep port. The lack of usefull documentation on the GNU runtime isn't helpfull :-). I'll start checking in after the release of PyObjC 1.0. The script below now works, but the unittests still cause many, many crashes. import objc class Foo (objc.runtime.NSObject): def init(self): print "hello" return self def description(self): return "foo" print Foo.alloc().init() BTW. there's two reasons I'm working on a GNUstep port, the first is the coolness factor and the second is improving the quality of the MacOSX port by exposing the bridge to slightly different conditions. BTW2. my Linux box is headless, and I won't install X11 on it. This means someone else will have to port the AppKit wrappers. That will be pretty easy once the core code works. Ronald |
From: Bob I. <bo...@re...> - 2003-10-06 17:31:21
|
On Monday, Oct 6, 2003, at 13:09 America/New_York, Ronald Oussoren wrote: > BTW. there's two reasons I'm working on a GNUstep port, the first is > the coolness factor and the second is improving the quality of the > MacOSX port by exposing the bridge to slightly different conditions. > > BTW2. my Linux box is headless, and I won't install X11 on it. This > means someone else will have to port the AppKit wrappers. That will be > pretty easy once the core code works. I have a "headed" X11 box and a Win XP (which I'm pretty sure can run *some* of GNUStep if one is so inclined) laptop at work.. so let me know when it's ready for me to start poking at. -bob |