Tk::Canvas

Tk::Canvas Perl module can create and manipulate Canvas widgets.
Download

Tk::Canvas Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tk team
  • Publisher web site:
  • http://search.cpan.org/~ni-s/Tk-804.027/pod/Adjuster.pod

Tk::Canvas Tags


Tk::Canvas Description

Tk::Canvas Perl module can create and manipulate Canvas widgets. Tk::Canvas Perl module can create and manipulate Canvas widgets.SYNOPSIS$canvas = $parent->Canvas(?options?);STANDARD OPTIONS-background -highlightthickness -insertwidth -state -borderwidth -insertbackground -relief -tile -cursor -insertborderwidth -selectbackground -takefocus -highlightbackground -insertofftime -selectborderwidth -xscrollcommand -highlightcolor -insertontime -selectforeground -yscrollcommandWIDGET-SPECIFIC OPTIONSName: closeEnough Class: CloseEnough Switch: -closeenoughSpecifies a floating-point value indicating how close the mouse cursor must be to an item before it is considered to be ``inside'' the item. Defaults to 1.0.Name: confine Class: Confine Switch: -confineSpecifies a boolean value that indicates whether or not it should be allowable to set the canvas's view outside the region defined by the scrollRegion argument. Defaults to true, which means that the view will be constrained within the scroll region.Name: height Class: Height Switch: -heightSpecifies a desired window height that the canvas widget should request from its geometry manager. The value may be specified in any of the forms described in the "COORDINATES" section below.Name: scrollRegion Class: ScrollRegion Switch: -scrollregionSpecifies a list with four coordinates describing the left, top, right, and bottom coordinates of a rectangular region. This region is used for scrolling purposes and is considered to be the boundary of the information in the canvas. Each of the coordinates may be specified in any of the forms given in the "COORDINATES" section below.Name: state Class: State Switch: -stateModifies the default state of the canvas where state may be set to one of: normal, disabled, or hidden. Individual canvas objects all have their own state option, which overrides the default state. Many options can take separate specifications such that the appearance of the item can be different in different situations. The options that start with "active" control the appearence when the mouse pointer is over it, while the option starting with "disabled" controls the appearence when the state is disabled.Name: width Class: width Switch: -widthSpecifies a desired window width that the canvas widget should request from its geometry manager. The value may be specified in any of the forms described in the "COORDINATES" section below.Name: xScrollIncrement Class: ScrollIncrement Switch: -xscrollincrementSpecifies an increment for horizontal scrolling, in any of the usual forms permitted for screen distances. If the value of this option is greater than zero, the horizontal view in the window will be constrained so that the canvas x coordinate at the left edge of the window is always an even multiple of xScrollIncrement; furthermore, the units for scrolling (e.g., the change in view when the left and right arrows of a scrollbar are selected) will also be xScrollIncrement. If the value of this option is less than or equal to zero, then horizontal scrolling is unconstrained.Name: yScrollIncrement Class: ScrollIncrement Switch: -yscrollincrementSpecifies an increment for vertical scrolling, in any of the usual forms permitted for screen distances. If the value of this option is greater than zero, the vertical view in the window will be constrained so that the canvas y coordinate at the top edge of the window is always an even multiple of yScrollIncrement; furthermore, the units for scrolling (e.g., the change in view when the top and bottom arrows of a scrollbar are selected) will also be yScrollIncrement. If the value of this option is less than or equal to zero, then vertical scrolling is unconstrained. Requirements: · Perl


Tk::Canvas Related Software