Version: 2.9.4
Public Member Functions
wxTreeListEvent Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/treelist.h>

Inheritance diagram for wxTreeListEvent:

Detailed Description

Event generated by wxTreeListCtrl.

Since:
2.9.3

Public Member Functions

 wxTreeListEvent ()
wxTreeListItem GetItem () const
 Return the item affected by the event.
wxCheckBoxState GetOldCheckedState () const
 Return the previous state of the item checkbox.
unsigned GetColumn () const
 Return the column affected by the event.

List of all members.


Constructor & Destructor Documentation

wxTreeListEvent::wxTreeListEvent ( )

Member Function Documentation

unsigned wxTreeListEvent::GetColumn ( ) const

Return the column affected by the event.

This is currently only used with wxEVT_COMMAND_TREELIST_COLUMN_SORTED event.

wxTreeListItem wxTreeListEvent::GetItem ( ) const

Return the item affected by the event.

This is the item being selected, expanded, checked or activated (depending on the event type).

wxCheckBoxState wxTreeListEvent::GetOldCheckedState ( ) const

Return the previous state of the item checkbox.

This method can be used with wxEVT_COMMAND_TREELIST_ITEM_CHECKED events only.

Notice that the new state of the item can be retrieved using wxTreeListCtrl::GetCheckedState().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines