BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::runsnakerun::runsnake::ProfileView Class Reference

List of all members.

Public Member Functions

def __init__
def SetPercentage
def CreateControls
def OnNodeActivated
def OnNodeSelected
def OnMouseMove
def SetIndicated
def SetSelected
def NodeToIndex
def columnByAttribute
def OnReorder
def reorder
def compareFunction
def integrateRecords
def OnGetItemAttr
def OnGetItemText

Public Attributes

 columns
 sortOrder
 sorted
 total
 indicated

Static Public Attributes

int indicated = 1
int total = 0
 percentageView = False
 activated_node = None
 selected_node = None
 indicated_node = None
tuple indicated_attribute = wx.ListItemAttr()
list columns

Detailed Description

A sortable profile list control

Constructor & Destructor Documentation

def b3::lib::runsnakerun::runsnake::ProfileView::__init__ (   self,
  parent,
  id = -1,
  pos = wx.DefaultPosition,
  size = wx.DefaultSize,
  style = wx.LC_REPORT|wx.LC_VIRTUAL|wx.LC_VRULES|wx.LC_SINGLE_SEL,
  validator = wx.DefaultValidator,
  columns = None,
  name = _("ProfileView") 
)

Member Function Documentation

def b3::lib::runsnakerun::runsnake::ProfileView::columnByAttribute (   self,
  name 
)
def b3::lib::runsnakerun::runsnake::ProfileView::compareFunction (   self,
  first,
  second 
)
Compare two functions according to our current sort order
def b3::lib::runsnakerun::runsnake::ProfileView::CreateControls (   self)
Create our sub-controls
def b3::lib::runsnakerun::runsnake::ProfileView::integrateRecords (   self,
  functions 
)
Integrate records from the loader
def b3::lib::runsnakerun::runsnake::ProfileView::NodeToIndex (   self,
  node 
)
def b3::lib::runsnakerun::runsnake::ProfileView::OnGetItemAttr (   self,
  item 
)
Retrieve ListItemAttr for the given item (index)
def b3::lib::runsnakerun::runsnake::ProfileView::OnGetItemText (   self,
  item,
  col 
)
Retrieve text for the item and column respectively
def b3::lib::runsnakerun::runsnake::ProfileView::OnMouseMove (   self,
  event 
)
def b3::lib::runsnakerun::runsnake::ProfileView::OnNodeActivated (   self,
  event 
)
We have double-clicked for hit enter on a node refocus squaremap to this node
def b3::lib::runsnakerun::runsnake::ProfileView::OnNodeSelected (   self,
  event 
)
We have selected a node with the list control, tell the world
def b3::lib::runsnakerun::runsnake::ProfileView::OnReorder (   self,
  event 
)
Given a request to reorder, tell us to reorder
def b3::lib::runsnakerun::runsnake::ProfileView::reorder (   self)
Force a reorder of the displayed items
def b3::lib::runsnakerun::runsnake::ProfileView::SetIndicated (   self,
  node 
)
Set this node to indicated status
def b3::lib::runsnakerun::runsnake::ProfileView::SetPercentage (   self,
  percent,
  total 
)
Set whether to display percentage values (and total for doing so)
def b3::lib::runsnakerun::runsnake::ProfileView::SetSelected (   self,
  node 
)
Set our selected node

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties