Table of Contents

Class: Logarithmic_Scale CGLtk/Hybrid.py

Horizontal scale with label, entry, and slider packed into a frame. The scale value is a power of the horizontal position. The min and max values must both be positive.

Didn't combine this into the Scale class because it requires significantly more complexity.

Methods   
__init__
callback
entry_changed_cb
scale_changed_cb
scale_position
set_range
set_value
value
  __init__ 
__init__ (
        self,
        parent,
        title,
        min,
        max,
        start,
        entry_format='%.0f',
        entry_width=5,
        )

  callback 
callback ( self,  cb )

  entry_changed_cb 
entry_changed_cb ( self )

Synchronize scale slider position with entry

  scale_changed_cb 
scale_changed_cb ( self )

Synchronize entry field value with scale slider position.

  scale_position 
scale_position ( self,  value )

  set_range 
set_range (
        self,
        min,
        max,
        )

  set_value 
set_value (
        self,
        value,
        invoke_callbacks=1,
        )

  value 
value ( self,  default=None )


Table of Contents

This document was automatically generated on Tue Nov 5 16:56:08 2002 by HappyDoc version 2.0.1