#6 add/remove options from optionchoice widget

open
Stefan Sauer
7
2005-01-17
2005-01-17
Michael Randel
No

Hi, it would be very nice if options could be added or
removed programmatically from a widget of type
optionchoice. At the moment it seems that there is only
one way to update such a widget. This way consists of
the following steps:

- create a string of desired giml description
- with this string crete a new dialog
- replace the newly created dialog with the previous one
- free the old dialog

These steps solves the problem but are very unhandly,
at least for me. Besides there will be a recognizable
flickering caused by the rendering of the new dialog.
It's very unlovely.

greetings
Michael

Discussion

  • Stefan Sauer
    Stefan Sauer
    2005-08-03

    Logged In: YES
    user_id=250654

    Yes, we need a little api to easily modify the XML tree from
    the app and trigger partial relayout.
    Unfortunately its quite work intensive to idesign and
    mplement it.

    Depending on which level the changes takes place, the whole
    dialog needs refreshing or just a widget needs a change.