Package pyanaconda :: Package iw :: Module partition_gui :: Class Stripe
[hide private]
[frames] | no frames]

Class Stripe

source code

object --+
         |
        Stripe

canvas -- the canvas where everything goes text -- the text that will appear on top of the stripe yoff -- its the position in the y axis where this stripe should be drawn dcCB -- function that should be called on a double click obj -- some python object that is related to this stripe

Instance Methods [hide private]
 
__init__(self, canvas, text, dcCB, obj=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
putOnCanvas(self, yoff)
returns the yposition after drawhing this stripe.
source code
 
shutDown(self) source code
 
getGroup(self) source code
 
slices(self) source code
 
addSlice(self, new_slice) source code
 
getSelectedSlice(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, canvas, text, dcCB, obj=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

slices(self)

source code 
Decorators:
  • @property