|
NAMEiwidgets::feedback - Create and manipulate a feedback widget to display feedback on the current status of an ongoing operation to the user.SYNOPSISiwidgets::feedback pathName ?options?INHERITANCEitk::Widget <- iwidgets::Labeledwidget <- iwidgets::FeedbackSTANDARD OPTIONSbackground cursor foreground highlightColor highlightThickness See the "options" manual entry for details on the standard options. INHERITED OPTIONSlabelBitmap labelFont labelImage labelMargin labelPos labelText labelVariable sticky See the "labeledwidget" class manual entry for details on the inherited options. WIDGET-SPECIFIC OPTIONSName: 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
DESCRIPTIONThe 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.METHODSThe 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: WIDGET-SPECIFIC METHODS
EXAMPLEpackage 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 } ACKNOWLEDGEMENTSSam Shen
AUTHORKris RaneyKEYWORDSfeedback, widget
Visit the GSP FreeBSD Man Page Interface. |