discuss-gnustep
[Top][All Lists]
Advanced

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

Re: [Q] How can I display Window using StepTalk?


From: Sungjin Chun
Subject: Re: [Q] How can I display Window using StepTalk?
Date: Fri, 25 Feb 2005 12:01:58 +0900

Hi,

I've modified STStructure.[hm] so that it can receive extent: message and create another instance of rect with point and size. It seems it work rather well :-)

@interface STStructure (NSPointAdditions)
- (STStructure *)extent:(NSSize)aSize;
@end

@implementation STStructure (NSPointAdditions)
- (STStructure *)extent:(NSSize)aSize {
    NSPoint p = [self pointValue];
return [STStructure structureWithRect:NSMakeRect(p.x, p.y, aSize.width, aSize.height)];
}
@end


On Feb 25, 2005, at 05:55 AM, Matthew D Swank wrote:

Matthew D Swank wrote:


I posted an example application that depends on a small external framework I wrote: http://lists.gnu.org/archive/html/discuss-gnustep/2005-02/ msg00446.html.

--------------------------------------------------
Sungjin Chun, Developer
Embian
chunsj@embian.com





reply via email to

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