Home | Trees | Index | Help |
|
---|
Package stripchart :: Module hgradescale :: Class HGradeScale |
|
Widget that displays a horizontal graduated scale.
The data model for this widget uses agtk.Adjustment
. The
interpretation of the adjustment is the same as for the VGradeScale
widget, which should be
consulted for more information.
See Also: VGradeScale
Method Summary | |
---|---|
Initializes the widget. | |
Delete attributes method. | |
Set attributes method. | |
Handler called when the adjustment is changed. | |
Event handler for expose event. | |
Sets up GDK GCs used for drawing. | |
Sets up pango font layout information. | |
Set the adjustment used as the data model. | |
Set the background color of the component. |
Instance Variable Summary | |
---|---|
gtk.Adjustment |
adjustment : gtk.Adjustment to be used as the data model. |
(int, int, int) |
bgcolor : Background color, specified as an (r, g, b) tuple, where
each color is in the range from 0 to 65535 . |
gtk.DrawingArea |
widget : Read-only pseudo-parent widget. |
Method Details |
---|
__init__(self,
adjustment=None)
Initializes the widget.
|
__delattr__(self, name)Delete attributes method. |
__setattr__(self, name, value)Set attributes method. |
__adjusted_handler(self, event)Handler called when the adjustment is changed. |
__expose_handler(self, area, event)Event handler for expose event. |
__init_gcs(self)Sets up GDK GCs used for drawing. |
__init_pangolayout(self)Sets up pango font layout information. |
__set_adjustment(self, adjustment)Set the adjustment used as the data model. |
__set_bgcolor(self, color)Set the background color of the component. |
Instance Variable Details |
---|
adjustmentgtk.Adjustment to be used as the data model. See VGradeScale for more information.
|
bgcolorBackground color, specified as an(r, g, b) tuple, where
each color is in the range from 0 to 65535 .
|
widgetRead-only pseudo-parent widget.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 25 11:04:43 2003 | http://epydoc.sf.net |