Pmw.ScrolledCanvas() - canvas with optional scrollbars
This megawidget consists of a standard canvas widget with optional scrollbars which can be used to scroll the canvas. The scrollbars can be dynamic, which means that a scrollbar will only be displayed if it is necessary, that is, if the scrollregion of the canvas is larger than the canvas.
If None, a label component is not created. The default is None.
Otherwise, the size of the megawidget is determined by the width and height of the canvas component, along with the size and/or existence of the other components, such as the label, the scrollbars and the scrollmargin option. All these affect the overall size of the megawidget. The default is 0.
bbox()
method. Without this explicit forwarding, the bbox()
method (aliased to grid_bbox()
) of the hull would be invoked,
which is probably not what the programmer intended.
component('canvas')
.
Home.
Pmw 0.8.1
Maintainer
gregm@iname.com.
11 Jun 1999
Manual page last reviewed: 20 September 1998