[Glade-devel] Implementation plan for the preview feature
- From: marcodiegomesquita at gmail.com (Marco Diego Aurélio Mesquita)
- Subject: [Glade-devel] Implementation plan for the preview feature
- Date: Sat, 30 Oct 2010 02:55:35 -0300
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?
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]