Package pajammin :: Package display :: Package ui :: Module button
[show private | hide private]
[frames | no frames]

Module pajammin.display.ui.button

Button user interface widgets.
Classes
AbstractButton A button, minus the intelligence.
Button A button widget.
ButtonBar  
ChooserButton  

Function Summary
  demo()
  _button_images(style, text, subimage, size, margin)
  _noop(*args)
  _render_frame(bgimage, text_color, text, subimage, size, margin)
Draw an empty frame (the background for a button)
  _scale(image, (maxw, maxh))

Variable Summary
dict _STYLES = {'dark': ['ui/button2.gif', (255, 255, 255)], ...

Function Details

demo()

_button_images(style, text, subimage, size, margin)

_noop(*args)

_render_frame(bgimage, text_color, text, subimage, size, margin)

Draw an empty frame (the background for a button)

_scale(image, (maxw, maxh))


Variable Details

_STYLES

Type:
dict
Value:
{'dark': ['ui/button2.gif', (255, 255, 255)],
 'light': ['ui/button1.gif', (0, 0, 0)],
 'standard': ['ui/button3.gif', (0, 0, 0)]}