/gtk-mvc

a MVC based toolkit approach for GTK+

Primary LanguageC

A fully MVC based re-implementation of GtkScrollbar
===================================================

This project was inspired by Kris' talk about the MVC pattern in the Lanedo
apres-conference after FOSDEM 2010.


Class Overview:

 + GObject
   + GInitiallyUnowned
     + GtkMvcArrowModel: a model for the arrow
     + GtkMvcButtonModel: a model for the button
     + GtkMvcDefaultController: a noop controller implementation
     | + GtkMvcButtonController: the controller for the button
     | + GtkMvcScrollController: the controller for the scrollbar
     + GtkMvcDefaultView: an object providing sane defaults for implementing new views
     | + GtkMvcArrowView: the view for the arrow
     | + GtkMvcButtonView: the view for the button
     | + GtkMvcScrollView: the view for the scrollbar
     + GtkMvcScrollModel: the model for the scrollbar
     + GtkObject
       + GtkWidget
         + GtkMvcAdaptor: a GtkWidget that embeds a GtkMvcView/GtkMvcController
           into a GtkContainer (so we have a proper migration path)
 + GTypeInterface
   + GtkMvcController: the interface resembling the controllers
   + GtkMvcModel: the interface resembling the models
   + GtkMvcView: the interface resembling the views