aDialog
for examples.Creating basic dialogs requires no actual GUI programming
knowledge. One specifies the items by type of variable
(numericItem
or stringItem
, say) and the "action"
through a method call.
The package uses the proto package so at some level, the R
user must use that OO syntax. In particular, methods calls are
done with the notation obj$method_name
and method
definitions have an initial argument .
for passing in a
reference to the proto
object. (The name .
is a
convention, but can be changed to self
or this
, if
that naming convention is preferred. Methods for proto
objects are documented (to some degree anyways). Their help page
is shown through the method show_help
, as in
obj$show_help()
.