[Glade-devel] Implementation plan for the preview feature
Marco Diego Aurélio Mesquita
marcodiegomesquita at gmail.com
Sat Oct 30 01:55:35 EDT 2010
I've been talking to Tristan on IRC about the implementation plan for
the preview feature. We decided some points:
- GladePreview will be a separeted GObject class.
- GladePreview will store a pointer to the topmost widget it is
currently previewing (and there will be only one preview per topmost
widget).
- GladeProject will keep a list of GladePreview of the current project.
- GladeProject will notify its list of GladePreview whenever there
is a change to the project (so that the previews can be updated).
- Some corner cases should be treated later. These corner cases are:
when a widget is "cut" or when it "loses"/"gains" parent.
- GladePreview should be destroyed if the widget it is previewing is
removed from project.
That's it. Objections? Comments? Recommendations?
More information about the Glade-devel
mailing list