Table of Contents

Class: TreeItem Idle/idle8/TreeWidget.py

Abstract class representing tree items.

Methods should typically be overridden, otherwise a default action is used.

Methods   
GetIconName
GetLabelText
GetSelectedIconName
GetSubList
GetText
IsEditable
IsExpandable
OnDoubleClick
SetText
__init__
  GetIconName 
GetIconName ( self )

Return name of icon to be displayed normally.

  GetLabelText 
GetLabelText ( self )

Return label text string to display in front of text (if any).

  GetSelectedIconName 
GetSelectedIconName ( self )

Return name of icon to be displayed when selected.

  GetSubList 
GetSubList ( self )

Return list of items forming sublist.

  GetText 
GetText ( self )

Return text string to display.

  IsEditable 
IsEditable ( self )

Return whether the item's text may be edited.

  IsExpandable 
IsExpandable ( self )

Return whether there are subitems.

  OnDoubleClick 
OnDoubleClick ( self )

Called on a double-click on the item.

  SetText 
SetText ( self,  text )

Change the item's text (if it is editable).

  __init__ 
__init__ ( self )

  1. Do whatever you need to do.


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:14 2003 by HappyDoc version 2.1