[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 > |