discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple newbie question!


From: Stefan Urbanek
Subject: Re: Simple newbie question!
Date: Fri, 14 Mar 2003 14:59:51 +0100

On 2003-03-14 13:19:07 +0100 Peter Karlsson <vigour@hotmail.com> wrote:

Dear list!

I wonder how I set the width and height for a window at runtime?


NSWindow *aWindow;
NSRect aRect = NSMakeRect(x,y,w,h);

[aWindow setFrame:aRect display:YES];

For more information see:
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSWindow.html#BCIDJIJB

Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]