christiaan pauw <cjpauw <at> gmail.com> writes:
Hi Everybody
ggenericwidet in the gWidgets package is really handy - you can get a
basic gui for your function in just about no time. Now I just want to
tweek it a little bit. For example: I want to use gvarbrowser to
select x . Can this type of object be manipulated after the initial
creation or must be all be done when it is created? If
The idea behind this widget is there are two steps: one to create
a list specifying how to layout the dialog and the other to make the
dialog. If you want to modify the object, you modify the list, not the
dialog. The list can be obtained two ways. See either:
cat(gWidgets:::autogenerategeneric(mean))
or
svalue(ggenericwidget(mean))
The whole thing is pretty limited and you'll bump into its walls
if you try too much, but it can make basic dialogs very simple.
The gformlayout adds a bit more functionality for mapping a list
into a dialog, but has nothing to autogenerate the list.