[litwindow-users] Re: change notification
Status: Alpha
Brought to you by:
hajokirchhoff
From: Hajo K. <mai...@ha...> - 2005-04-21 07:37:28
|
yrs90 wrote: > The explanation on calling NotifyChanged on physical data is much clearer > now. I understand the propagation paths well enough that thus far the > results have been predictable. > > I am still having trouble understanding how to take an accessor (or typed > accessor or whatever) that I retrieve from a UI element for a call with > NotifyChanged. I'm still stuck referencing the physical structure directly. Incomplete litwindow sources here. NotifyChanged is actually a template that calls make_const_accessor for you and then calls RapidUI::NotifyChanged. See rapidUI.h If you already have an accessor, calling make_const_accessor does not make sense. I've added another NotifyChanged method to the headerfile that will take an accessor. But you could also try using RapidUI::NotifyChanged (static member) instead. Hajo |