playwith Application Programming Interface.## Note: this is only to be called inside a tool constructor function.
quickTool(
playState,
label = "",
icon.name = NULL,
tooltip = NULL,
f = NULL,
data = NULL,
post.plot.action = NULL,
isToggle = FALSE,
show = TRUE)playState object, as passed in to the constructor function.function(widget, playState) if data is NULL;
otherwise it should be a function(widget, user.data and access user.d"playState" will be added to it.function(widget, playState).gtkToggleToolButton).gtkToolButton.
Any post.plot.action is set as an attribute "post.plot.action".gtkToolButton.playwith.API, playwith##
## see the examples in help(playwith.API).
##Run the code above in your browser using DataLab