[Y-devel] Slider widget done
Trent Lloyd lathiat at bur.st
Wed Mar 10 17:34:35 GMT 2004
> ...I don't think it's a good idea to pretend that these things are
> lvalues, because they aren't. Furthermore, you don't (can't) provide
> the equivalent "read" behaviour in a sane way. Reading a property is a
> two-step process.
This is a nice feature of C#
public string magicstring {
set {
// magic happens here
}
get {
this_is_our_first_Step();
return "magic"; // second step
}
}
:)
Cheers,
Trent
Bur.st
--
[ Trent "Lathiat" Lloyd lathi at sixlabs.org ]/ "You sure as hell shouldn't be \
[ tlhIngan Hol Dajatlh'e www.sixlabs.org ]| fingering my toaster" -Linus |
[ GPG Key Id: 0x04AB3C5D www.bur.st ]| Torvalds, LCA2003 Speakers dinner|
[ IPv6 Conference https://conf.sixlabs.org ]\ talking about ipv6 with me /
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved