discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Menu (Was: Re: Unimplemented AppKit classes)


From: Nicola Pero
Subject: Re: Menu (Was: Re: Unimplemented AppKit classes)
Date: Thu, 23 Jan 2003 16:12:26 +0000 (GMT)

> When you do XXX="#yyy" then the value of outlet XXX in the object is set
> to te bject referenced by id 'yyy'. I am not sure what the # is
> necessary - Nicola, what does it mean without the # in front of the 
> object ID ?

Any attribute with a value starting with '#' is automatically removed from
the tag, and a separate outlet object is created from it (and the
connection established later at the right moment) before it's even handed
to the tag.  The tag class will never even know that the attribute was
there (and does not need to contain code to manage it!).

If it has not the '#', it's a standard attribute and it's processed by the
tag as usual.


I used '#' because it was remining me of 

<html>
 <body>
  <div id="index">
   Chapter 1
     ...
  </div>

  ...

  Go up the page to the <a href="#index">index</a>.
 </body>
</html>

but probably any other syntax would have been good as well.





reply via email to

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