Package pajammin :: Package display :: Package ui :: Module menu :: Class MenuButton
[show private | hide private]
[frames | no frames]

Type MenuButton

  object --+        
           |        
ScreenWidget --+    
               |    
  AbstractButton --+
                   |
                  MenuButton


Method Summary
    Inherited from AbstractButton
  __init__(self, x, y, text, image, size, anchor, style, margin)
  draw(self, screen, duration)
Draw this widget to the screen.
  draw_down(self, screen)
  draw_hl(self, screen)
  draw_up(self, screen)
  move(self, x, y, anchor)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
Return repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Instance Variable Summary
    Inherited from AbstractButton
  down: is it pressed?
  highlighted: is it highlighted?
  layer: An integer indicating the order in which the widget should be drawn to the screen, relative to other widgets.
    Inherited from ScreenWidget
bool hidden: If true, then the screen widget will not be drawn.

Class Variable Summary
    Inherited from AbstractButton
dict STYLES = {'dark': ('ui/button2.gif', (255, 255, 255)), '...