wsurf - Create and manipulate WaveSurfer widgets
wsurf pathName ?options?
callback message
message is the message string.
callback operation fraction
operation is a string describing the operation in progress and fraction is a number between 0.0 and 1.0 describing how much of operation that has been completed.
The wsurf command creates a new window (given by the pathName argument) and makes it into a wsurf widget. The wsurf command returns its pathName argument. At the time this command is invoked, there must not exist a window named pathName, but pathName's parent must exist.
The wsurf command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
pathName option ?arg arg ...?
Option and the args determine the exact behavior of the command. The following commands are possible for wsurf widgets:
pathName cget option
pathName configure ?option? ?value option value ...?
pathName getInfo option
pathName closeWidget
pathName openFile filename
pathName saveFile filename
pathName printDialog
pathName undo
pathName cut
pathName copy
pathName paste
pathName play
pathName stop
pathName pause
To be continued...