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



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?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]