iwidgets::feedback(1) | [incr Widgets] | iwidgets::feedback(1) |
iwidgets::feedback - Create and manipulate a feedback widget to display feedback on the current status of an ongoing operation to the user.
iwidgets::feedback pathName ?options?
itk::Widget <- iwidgets::Labeledwidget <- iwidgets::Feedback
background cursor foreground highlightColor highlightThickness
See the "options" manual entry for details on the standard options.
labelBitmap labelFont labelImage labelMargin labelPos labelText labelVariable sticky
See the "labeledwidget" class manual entry for details on the inherited options.
Name: barcolor Class: BarColor Command-Line Switch: -barcolor
Name: barheight Class: BarHeight Command-Line Switch: -barheight
Name: troughColor Class: TroughColor Command-Line Switch: -troughcolor
Name: steps Class: Steps Command-Line Switch: -steps
The iwidgets::feedback command creates a widget to display feedback on the current status of an ongoing operation to the user. Display is given as a percentage and as a thermometer type bar. Options exist for adding a label and controlling its position.
The iwidgets::feedback 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 scrolledtext widgets:
package require Iwidgets 4.0
iwidgets::feedback .fb -labeltext "Status" -steps 20
pack .fb -padx 10 -pady 10 -fill both -expand yes
for {set i 0} {$i < 20} {incr i} {
.fb step
after 500
}
Sam Shen
Kris Raney
feedback, widget
Tk |