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: Matthew D Swank
Subject: Re: [Q] How can I display Window using StepTalk?
Date: Fri, 25 Feb 2005 01:01:08 -0600
User-agent: Mozilla Thunderbird 1.0 (X11/20050209)

Sungjin Chun wrote:

Hmm, sorry for my tons of questions but I cannot help but to ask this. You set styleMask as 15, is there any particular reason for this? Or correct question may be, how can I use bitwise or operator in StepTalk?

Thanks in advance.


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

          window := NSWindow alloc
                             initWithContentRect:
                                 (STLLUtil makeRectX:300
                                           withY:300
                                           withW:200
                                           withH:100)
                             styleMask:15
                             backing: NSBackingStoreBuffered
                             defer: YES.

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


Sure I was just lazy:

   StepTalk > 1 or: (2 or: (4 or: 8))
   (5) 15
   StepTalk > ((1 and: 2) and: 4) and: 8
   (6) 0

Matt





reply via email to

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