[Glade-devel] One preview per "topmost" widget

Marco Diego Aurélio Mesquita marcodiegomesquita at gmail.com
Fri Oct 29 21:36:37 EDT 2010


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.

Seems pretty simple. Is there any problem with this strategy?


More information about the Glade-devel mailing list