Package muntjac :: Package ui :: Module tree :: Class IItemStyleGenerator
[hide private]
[frames] | no frames]

Class IItemStyleGenerator

source code

object --+
         |
        IItemStyleGenerator

IItemStyleGenerator can be used to add custom styles to tree items. The CSS class name that will be added to the cell content is v-tree-node-[style name].

Instance Methods [hide private]
 
getStyle(self, itemId)
Called by Tree when an item is painted.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getStyle(self, itemId)

source code 

Called by Tree when an item is painted.

Parameters:
  • itemId - The itemId of the item to be painted
Returns:
The style name to add to this item. (the CSS class name will be v-tree-node-[style name]