Package stripchart :: Module hgradescale :: Class HGradeScale
[show private | hide private]
[frames | no frames]

Class HGradeScale


Widget that displays a horizontal graduated scale.

The data model for this widget uses a gtk.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
  __init__(self, adjustment)
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 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)
(Constructor)

Initializes the widget.
Parameters:
adjustment - Data model for the horizontal range. If adjustment is None then a default gtk.Adjustment is created. See the adjustment instance variable for more information.

__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

adjustment

gtk.Adjustment to be used as the data model. See VGradeScale for more information.
Type:
gtk.Adjustment

bgcolor

Background color, specified as an (r, g, b) tuple, where each color is in the range from 0 to 65535.
Type:
(int, int, int)

widget

Read-only pseudo-parent widget.
Type:
gtk.DrawingArea

Generated by Epydoc 2.0 on Sat Oct 25 11:04:43 2003 http://epydoc.sf.net