German Arias <[email protected]> writes: > [email protected] escribió: >> I have installed (with 'emerge renaissance' command) >> gnustep-libs/renaissance version 0.9.0. >> >> I think I did not import Renaissance. How can I do that? >> >> > With > > #import <Renaissance/Renaissance.h>
> see the documentation: > > http://www.gnustep.it/Renaissance/Documentation.html The main.m file follows: #include <Foundation/Foundation.h> #include <AppKit/AppKit.h> #include <Renaissance/Renaissance.h> @interface MyDelegate : NSObject {} - (void) applicationDidFinishLaunching: (NSNotification *)not; @end @implementation MyDelegate : NSObject - (void) applicationDidFinishLaunching: (NSNotification *)not; { [NSBundle loadGSMarkupNamed: @"LPT_Interface" owner: self]; } @end int main (int argc, const char **argv) { CREATE_AUTORELEASE_POOL (pool); MyDelegate *delegate; [NSApplication sharedApplication]; delegate = [MyDelegate new]; [NSApp setDelegate: delegate]; #ifdef GNUSTEP [NSBundle loadGSMarkupNamed: @"Menu-GNUstep" owner: delegate]; #else [NSBundle loadGSMarkupNamed: @"Menu-OSX" owner: delegate]; #endif RELEASE (pool); return NSApplicationMain (argc, argv); } -- Regards, Paul Chany You can freely correct me in my English. http://csanyi-pal.info _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
