From: Don A. <don...@co...> - 2005-04-19 22:27:22
|
Douglas S. Blank wrote: > Don wrote, quoting Martin: > >>> As I was looking at the code for handling the different views in >>> gramps_main I was thinking that it would be nice if the View would be >>> self-contained and connected thru a plugin-like api and using the new >>> signals. Currently they are partly using some different kinds of >>> callbacks. > > > This sounds like a great idea, and one that would allow users to > customize their view the way that they want it to look/feel/behave. If > you pursue this, it sure would be nice if it weren't tied to a > particular graphical toolkit. Thanks! > This scheme has a lot of nice benefits. The same scheme should be able to be adapted to gramps-tk as well - all it would take would be to return whatever type of container object that the target toolkit desires. In fact, it should make it easier to port to other toolkits - less heavy interaction between modules. The signalling mechanism is not gtk specific. Don |