|
NAMEiwidgets::spinint - Create and manipulate a integer spinner widgetSYNOPSISiwidgets::spinint pathName ?options?INHERITANCEitk::Widget <- iwidgets::Labeledwidget <- iwidgets::Spinner <- iwidgets::SpinintSTANDARD OPTIONSbackground borderWidth cursor exportSelection foreground highlightColor highlightThickness insertBackground insertBorderWidth insertOffTime insertOnTime insertWidth justify relief selectBackground selectBorderWidth selectForeground textVariable See the "options" manual entry for details on the standard options. ASSOCIATED OPTIONSshow state See the "entry" manual entry for details on the associated options. INHERITED OPTIONScommand childSitePos fixed focusCommand invalid textBackground textFont validate width See the "entryfield" widget manual entry for details on the above inherited options. disabledForeground labelBitmap labelFont labelImage labelMargin labelPos labelText labelVariable state sticky See the "labeledwidget" widget manual entry for details on the above inherited options. arroworient decrement increment repeatDelay repeatInterval See the "spinner" widget manual entry for details on the above inherited options. WIDGET-SPECIFIC OPTIONSName: range Class: Range Command-Line Switch: -range
Name: step Class: Step Command-Line Switch: -step
Name: wrap Class: Wrap Command-Line Switch: -wrap
DESCRIPTIONThe iwidgets::spinint command creates a spinint widget. The spinint allows "spinning" of integer values within a specified range with wrap support. The spinner arrows may be drawn horizontally or vertically.METHODSThe iwidgets::spinint 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 spinint widgets: ASSOCIATED METHODSdelete get icursor index insert peek scan selection xview See the "entry" manual entry for details on the associated methods. INHERITED METHODSchildsite clear See the "entryfield" manual entry for details on the associated methods. WIDGET-SPECIFIC METHODS
COMPONENTS
EXAMPLEpackage require Iwidgets 4.0 option add *textBackground white iwidgets::spinint .si -labeltext "Temperature" -labelpos w \ -fixed yes -width 5 -range {32 212} pack .si -pady 10 AUTHORSue YockeyKEYWORDSspinint, widget
Visit the GSP FreeBSD Man Page Interface. |