Re: sanity check: deriving from Gtk::Range



Thanks to all for the replies, lots of good stuff to chew on. One question:

On Jul 9, 2008, at 9:26 PM, Paul Davis wrote:

control/view components of an MVC system typically use a HAVE-A
relationship with the model part.

in this case, your "dial" would HAVE-A Range, not use IS-A Range. in
real life that typically means a Gtk::Range* or Gtk::Range&

I thought the Gtk::Adjustment was the model in this case, and the Range is the base class for several views (Scrollbar, Scale) containing that model. False?

JS



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