Package layouts :: Module sparse :: Class CalendarRenderer
[hide private]
[frames] | no frames]

Class CalendarRenderer

source code

            object --+    
                     |    
_base.CalendarRenderer --+
                         |
                        CalendarRenderer

sparse layout class

Instance Methods [hide private]
 
_draw_month(self, cr, rect, month, year)
this method renders a calendar month, it should be overridden in any subclass
source code

Inherited from _base.CalendarRenderer: __init__, render

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

Instance Variables [hide private]

Inherited from _base.CalendarRenderer: Month, MonthSpan, Outfile, Theme, Year, holiday_provider, options, version_string

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_draw_month(self, cr, rect, month, year)

source code 

this method renders a calendar month, it should be overridden in any subclass

Parameters:
  • cr - cairo context
  • rect - rendering rect
  • month - month
  • year - year
Overrides: _base.CalendarRenderer._draw_month
(inherited documentation)