Nicola Pero <[email protected]> writes:

> I think Csanyi is using Renaissance, where each tag has an 'id'.

Yes, that's my case.

But why can't I use in this way 'id' attribute of a button?
I was thinking in that way that 'id' is like an 'ID Card' which can then
use to determine which button sent the action.

> To figure out which button has been clicked, as Fred said, it's best
> to use a 'tag':
>
>  <button tag="3" ...>
>
> and then [sender tag] should work.  Csanyi, check the renaissance/
> Examples/Applications/Calculator
> for a full example.

Thank you to point me in the right direction! :)

-- 
Regards, Paul Chany
<http://sourceforge.net/projects/lptinterface/>
<http://savannah.nongnu.org/projects/lpt-interface/>
<http://csanyi-pal.info>


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to