Package wx :: Package lib :: Package agw :: Module hypertreelist :: Class TreeListItem

[frames | no frames]

## Type TreeListItem

         object --+
                  |
    GenericTreeItem --+
                      |
                     TreeListItem

Method Summary
| ``__init__`(self, mainWin, parent, text, ct_type, wnd, image, selImage, data)` Default class constructor.
| ``DeleteChildren`(self, tree)` Deletes the item children.
| ``DeleteWindow`(self, column)` Deletes the window associated to the item (if any).
| ``GetCurrentImage`(self, column)` Returns the current item image.
| `GetImage(self, column, which)`
| ``GetText`(self)` Returns the item text.
| `GetTextX(self)`
| ``GetWindow`(self, column)` Returns the window associated to the item.
| ``GetWindowEnabled`(self, column)` Returns whether the associated window is enabled or not.
| ``GetWindowSize`(self, column)` Returns the associated window size.
| `Hide(self, hide)`
| `HitTest(self, point, theCtrl, flags, column, level)`
| ``IsHidden`(self)` Returns whether the item is hidden or not.
| ``OnSetFocus`(self, event)` Handles the wx.EVT_SET_FOCUS event for the associated window.
| `SetImage(self, column, image, which)`
| `SetText(self, column, text)`
| `SetTextX(self, text_x)`
| ``SetWindow`(self, wnd, column)` Sets the window associated to the item.
| ``SetWindowEnabled`(self, enable, column)` Sets whether the associated window is enabled or not.

Method Details

### __init__(self, mainWin, parent, text=[], ct_type=0, wnd=None, image=-1, selImage=-1, data=None)
(Constructor)

Default class constructor. For internal use: do not call it in your code!

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.__init__`

### DeleteChildren(self, tree)

Deletes the item children.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.DeleteChildren`

### DeleteWindow(self, column=None)

Deletes the window associated to the item (if any).

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.DeleteWindow`

### GetCurrentImage(self, column=None)

Returns the current item image.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.GetCurrentImage`

### GetText(self, column=None)

Returns the item text.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.GetText` (inherited documentation)

### GetWindow(self, column=None)

Returns the window associated to the item.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.GetWindow`

### GetWindowEnabled(self, column=None)

Returns whether the associated window is enabled or not.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.GetWindowEnabled`

### GetWindowSize(self, column=None)

Returns the associated window size.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.GetWindowSize`

### IsHidden(self)

Returns whether the item is hidden or not.

### OnSetFocus(self, event)

Handles the wx.EVT_SET_FOCUS event for the associated window.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.OnSetFocus`

### SetWindow(self, wnd, column=None)

Sets the window associated to the item.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.SetWindow`

### SetWindowEnabled(self, enable=True, column=None)

Sets whether the associated window is enabled or not.

  Overrides:
    `wx.lib.agw.customtreectrl.GenericTreeItem.SetWindowEnabled`

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:52:21 2009 | http://epydoc.sf.net