Package layouts :: Module _base
[hide private]
[frames] | no frames]

Module _base

source code

base layout module -- others may inherit from this one

Classes [hide private]
  DayCell
class Holding a day cell to be drawn
  CalendarRenderer
base monthly calendar renderer - others inherit from this
Functions [hide private]
optparse.OptionParser
get_parser(layout_name)
get the parser object for the layout command-line arguments
source code
Variables [hide private]
  ISOPAGE = [1188, 840, 594, 420, 297, 210, 148, 105, 74, 52, 37]
  XDPI = 72.0
  __package__ = 'layouts'
Function Details [hide private]

get_parser(layout_name)

source code 

get the parser object for the layout command-line arguments

Parameters:
  • layout_name - corresponding python module (.py file)
Returns: optparse.OptionParser