From: Pascal <pb...@oi...> - 2001-01-29 14:52:06
|
A layout manager would be a child it self (of the document, or another layer) It would listen to it's parent's resize event, and when that happens invoke an event on the child-layers/widgets it contains. So I think it's basically a two-way direction.. listen for actions to act on, and then invoke corresponding actions on it's children. I think this means that widgets should have methods for stuff like redraw() or repaint() which redraws the widget for the (new) x,y and w,h values. Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Henrik > Våglin > Verzonden: maandag 29 januari 2001 15:47 > Aan: dyn...@li... > Onderwerp: [Dynapi-Widgetdev] DynBuilder managers & modules issue > > > I was pondering over the issue with creating managers > (non-visual constructors) and modules who updates on > changes in these for the DynBuilder. > What is the best method: to let the manager send out a > call to all modules onchange - ie the module widget > instances listening for different manager values - or > the module to regulary read the values of the manager? > > Greatful for any feedback on this issue... > > Henrik Våglin [ hv...@ya... ] > > ===== > // Henrik Vaglin > > ************************************************** > Visit my comics artpage at > http://photos.yahoo.com/bc/hvaglin?d&.flabel=fld5&.src=bc > ************************************************** > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > |