add/remove options from optionchoice widget
Status: Alpha
Brought to you by:
ensonic
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
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.