Package Gnumed :: Package timelinelib :: Package wxgui :: Package components :: Module categorytree :: Class CustomCategoryTreeModel
[frames] | no frames]

Class CustomCategoryTreeModel

source code

                 object --+    
                          |    
general.observer.Observable --+
                              |
                             CustomCategoryTreeModel

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_items(self) source code
 
set_view_size(self, view_width, view_height) source code
 
set_categories(self, categories) source code
 
hit(self, x, y) source code
 
toggle_expandedness(self, category) source code

Inherited from general.observer.Observable: listen_for, listen_for_any, register, unlisten, unregister

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

Class Variables
  ITEM_HEIGHT_PX = 22
  INDENT_PX = 15
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)