[Pyobjc-dev] New version of Nib* from Just
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-11-17 16:43:57
|
I proxied a commit from Just for the Nib loading mechanism. It is now NibClassBuilder. His log: --- - renamed loadClassesEtc. to extractClasses(), has a signature is as discussed on the list (ie. can parse nibs by name or by path) - added module doc string and variaus method doc strings - renamed NibClassBuilder to _NibClassBuilder: AutoBaseClass is not the way it's done. - allow extractClasses() to be called multiple times for one nib (well it was allowed, but now less double work is performed) - normalized whitespace --- Usage now looks like: from AppKit import NibClassBuilder NibClassBuilder.extractClasses( "MainMenu" ) class DeDatAppDelegate(ClassBuilder.AutoBaseClass, NSDraggingDestination): .... I'm going to update the examples and the Cocoa-Python project this afternoon... b.bum |