[Glade-devel] One preview per "topmost" widget
- From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
- Subject: [Glade-devel] One preview per "topmost" widget
- Date: Sat, 30 Oct 2010 12:17:38 +0900
2010/10/30 Marco Diego Aur?lio Mesquita <marcodiegomesquita at gmail.com>:
This is my plan to implement one preview per "topmost" widget in glade:
?- Escalate the widget tree (using gtk_widget_get_parent).
?- Check (using gtk_widget_get_name and a list of the names of
widgets currently been previewed) if such widget is already been
previewed.
? ?- If it is already been previewed, update the whole interface.
? ?- If not, launch a preview.
The association should not be by name, widget names
can change during a running preview.
Perhaps GladePreview object must be an object belonging
to the GladeWidget itself... when the toplevel gets a parent
added to it... the preview should then be placed on the parent.
Something like that.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]