|
NAMEiwidgets::scrolledcanvas - Create and manipulate scrolled canvas widgetsSYNOPSISiwidgets::scrolledcanvas pathName ?options?INHERITANCEitk::Widget <- iwidgets::Labeledwidget <- iwidgets::Scrolledwidget <- iwidgets::ScrolledcanvasSTANDARD OPTIONSactiveBackground background borderWidth cursor exportSelection font foreground highlightColor highlightThickness insertBorderWidth insertOffTime insertOnTime insertWidth relief selectBackground selectBorderWidth selectForeground See the "options" manual entry for details on the standard options. ASSOCIATED OPTIONScloseEnough confine scrollRegion xScrollIncrement yScrollIncrement See the "canvas" widget manual entry for details on the above associated options. activeRelief elementBorderWidth jump troughColor See the "scrollbar" widget manual entry for details on the above associated options. INHERITED OPTIONSdisabledForeground labelBitmap labelFont labelImage labelMargin labelPos labelText labelVariable state sticky See the "labeledwidget" class manual entry for details on the inherited options. WIDGET-SPECIFIC OPTIONSName: autoMargin Class: AutoMargin Command-Line Switch: -automargin
Name: autoResize Class: AutoResize Command-Line Switch: -autoresize
Name: height Class: Height Command-Line Switch: -height
Name: hscrollMode Class: ScrollMode Command-Line Switch: -hscrollmode
Name: sbWidth Class: Width Command-Line Switch: -sbwidth
Name: scrollMargin Class: ScrollMargin Command-Line Switch: -scrollmargin
Name: textBackground Class: Background Command-Line Switch -textbackground
Name: vscrollMode Class: ScrollMode Command-Line Switch: -vscrollmode
Name: width Class: Width Command-Line Switch: -width
DESCRIPTIONThe iwidgets::scrolledcanvas command creates a scrolled canvas with additional options to manage horizontal and vertical scrollbars. This includes options to control which scrollbars are displayed and the method, i.e. statically or dynamically.METHODSThe iwidgets::scrolledcanvas 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 scrolledcanvas widgets: ASSOCIATED METHODSaddtag bbox bind canvasx canvasy coords create dchars delete dtag find focus gettags icursor index insert itemconfigure lower move postscript raise scale scan select type xview yview See the "canvas" manual entry for details on the associated methods. WIDGET-SPECIFIC METHODS
COMPONENTSName: canvas Class: Canvas
Name: horizsb Class: Scrollbar
Name: vertsb Class: Scrollbar
EXAMPLEpackage require Iwidgets 4.0 iwidgets::scrolledcanvas .sc .sc create rectangle 100 100 400 400 -fill red .sc create rectangle 300 300 600 600 -fill green .sc create rectangle 200 200 500 500 -fill blue pack .sc -padx 10 -pady 10 -fill both -expand yes AUTHORMark L. UlfertsKEYWORDSscrolledcanvas, canvas, widget
Visit the GSP FreeBSD Man Page Interface. |