Module aggregatedisplay :: Class DataSource
[hide private]
[frames] | no frames]

Class DataSource

source code

object --+
         |
        DataSource

This is the model

You don't need to inherit from this - it is mainly to document what you have to implement.

Instance Methods [hide private]
 
GetSections(self)
Return a list of section headers
source code
 
GetItemSize(self, sectionnumber, sectionheader)
Return (width, height of each item)
source code
 
GetItemsFromSection(self, sectionnumber, sectionheader)
Return a list of the items for the section.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GetItemsFromSection(self, sectionnumber, sectionheader)

source code 

Return a list of the items for the section.

Parameters:
  • sectionnumber - the index into the list returned by GetSections
  • sectionheader - the section header object from that list