NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
wxTreeListCtrl Class Reference

#include <treelistctrl.h>

Inheritance diagram for wxTreeListCtrl:
Collaboration diagram for wxTreeListCtrl:

Public Member Functions

 wxTreeListCtrl ()
 
 wxTreeListCtrl (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxTreeListCtrlNameStr)
 
virtual ~wxTreeListCtrl ()
 
bool Create (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTR_DEFAULT_STYLE, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxTreeListCtrlNameStr)
 
void Refresh (bool erase=TRUE, const wxRect *rect=NULL)
 
void SetFocus ()
 
size_t GetCount () const
 
unsigned int GetIndent () const
 
void SetIndent (unsigned int indent)
 
unsigned int GetLineSpacing () const
 
void SetLineSpacing (unsigned int spacing)
 
wxImageList * GetImageList () const
 
wxImageList * GetStateImageList () const
 
wxImageList * GetButtonsImageList () const
 
void SetImageList (wxImageList *imageList)
 
void SetStateImageList (wxImageList *imageList)
 
void SetButtonsImageList (wxImageList *imageList)
 
void AssignImageList (wxImageList *imageList)
 
void AssignStateImageList (wxImageList *imageList)
 
void AssignButtonsImageList (wxImageList *imageList)
 
void SetToolTip (const wxString &tip)
 
void SetToolTip (wxToolTip *tip)
 
void SetItemToolTip (const wxTreeItemId &item, const wxString &tip)
 
void AddColumn (const wxString &text, int width=DEFAULT_COL_WIDTH, int flag=wxALIGN_LEFT, int image=-1, bool shown=true, bool edit=false)
 
void AddColumn (const wxTreeListColumnInfo &colInfo)
 
void InsertColumn (int before, const wxString &text, int width=DEFAULT_COL_WIDTH, int flag=wxALIGN_LEFT, int image=-1, bool shown=true, bool edit=false)
 
void InsertColumn (int before, const wxTreeListColumnInfo &colInfo)
 
void RemoveColumn (int column)
 
int GetColumnCount () const
 
void SetMainColumn (int column)
 
int GetMainColumn () const
 
void SetColumn (int column, const wxTreeListColumnInfo &colInfo)
 
wxTreeListColumnInfo GetColumn (int column)
 
const wxTreeListColumnInfoGetColumn (int column) const
 
void SetColumnText (int column, const wxString &text)
 
wxString GetColumnText (int column) const
 
void SetColumnWidth (int column, int width)
 
int GetColumnWidth (int column) const
 
void SetColumnAlignment (int column, int flag)
 
int GetColumnAlignment (int column) const
 
void SetColumnImage (int column, int image)
 
int GetColumnImage (int column) const
 
void SetColumnShown (int column, bool shown=true)
 
bool IsColumnShown (int column) const
 
void SetColumnEditable (int column, bool edit=true)
 
bool IsColumnEditable (int column) const
 
wxString GetItemText (const wxTreeItemId &item) const
 
wxString GetItemText (const wxTreeItemId &item, int column) const
 
int GetItemImage (const wxTreeItemId &item, wxTreeItemIcon which=wxTreeItemIcon_Normal) const
 
int GetItemImage (const wxTreeItemId &item, int column) const
 
wxTreeItemData * GetItemData (const wxTreeItemId &item) const
 
wxTreeItemData * GetItemData (const wxTreeItemId &item, int column) const
 
bool GetItemBold (const wxTreeItemId &item) const
 
bool GetItemBold (const wxTreeItemId &item, int column) const
 
wxColour GetItemTextColour (const wxTreeItemId &item) const
 
wxColour GetItemTextColour (const wxTreeItemId &item, int column) const
 
wxColour GetItemBackgroundColour (const wxTreeItemId &item) const
 
wxColour GetItemBackgroundColour (const wxTreeItemId &item, int column) const
 
wxFont GetItemFont (const wxTreeItemId &item) const
 
wxFont GetItemFont (const wxTreeItemId &item, int column) const
 
void SetItemText (const wxTreeItemId &item, const wxString &text)
 
void SetItemText (const wxTreeItemId &item, int column, const wxString &text)
 
void SetItemImage (const wxTreeItemId &item, int image, wxTreeItemIcon which=wxTreeItemIcon_Normal)
 
void SetItemImage (const wxTreeItemId &item, int column, int image)
 
void SetItemData (const wxTreeItemId &item, wxTreeItemData *data)
 
void SetItemData (const wxTreeItemId &item, int column, wxTreeItemData *data)
 
void SetItemBold (const wxTreeItemId &item, bool bold=true)
 
void SetItemBold (const wxTreeItemId &item, int column, bool bold=true)
 
void SetItemTextColour (const wxTreeItemId &item, const wxColour &colour)
 
void SetItemTextColour (const wxTreeItemId &item, int column, const wxColour &colour)
 
void SetItemBackgroundColour (const wxTreeItemId &item, const wxColour &colour)
 
void SetItemBackgroundColour (const wxTreeItemId &item, int column, const wxColour &colour)
 
void SetItemFont (const wxTreeItemId &item, const wxFont &font)
 
void SetItemFont (const wxTreeItemId &item, int column, const wxFont &font)
 
void SetItemHasChildren (const wxTreeItemId &item, bool has=true)
 
bool IsVisible (const wxTreeItemId &item, bool fullRow=false, bool within=true) const
 
bool HasChildren (const wxTreeItemId &item) const
 
bool IsExpanded (const wxTreeItemId &item) const
 
bool IsSelected (const wxTreeItemId &item) const
 
bool IsBold (const wxTreeItemId &item) const
 
bool IsBold (const wxTreeItemId &item, int column) const
 
virtual bool SetFont (const wxFont &font)
 
void SetWindowStyle (const long styles)
 
long GetWindowStyle () const
 
long GetWindowStyleFlag () const
 
size_t GetChildrenCount (const wxTreeItemId &item, bool recursively=true)
 
wxTreeItemId GetRootItem () const
 
wxTreeItemId GetSelection () const
 
size_t GetSelections (wxArrayTreeItemIds &) const
 
wxTreeItemId GetItemParent (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetNextChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetPrevChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetLastChild (const wxTreeItemId &item, long &cookie) const
 
wxTreeItemId GetNextSibling (const wxTreeItemId &item) const
 
wxTreeItemId GetPrevSibling (const wxTreeItemId &item) const
 
wxTreeItemId GetNext (const wxTreeItemId &item) const
 
wxTreeItemId GetPrev (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstExpandedItem () const
 
wxTreeItemId GetNextExpanded (const wxTreeItemId &item) const
 
wxTreeItemId GetPrevExpanded (const wxTreeItemId &item) const
 
wxTreeItemId GetFirstVisibleItem (bool fullRow=false) const
 
wxTreeItemId GetFirstVisible (bool fullRow=false, bool within=true) const
 
wxTreeItemId GetNextVisible (const wxTreeItemId &item, bool fullRow=false, bool within=true) const
 
wxTreeItemId GetPrevVisible (const wxTreeItemId &item, bool fullRow=false, bool within=true) const
 
wxTreeItemId GetLastVisible (bool fullRow=false, bool within=true) const
 
wxTreeItemId AddRoot (const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId PrependItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId InsertItem (const wxTreeItemId &parent, const wxTreeItemId &idPrevious, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId InsertItem (const wxTreeItemId &parent, size_t index, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
wxTreeItemId AppendItem (const wxTreeItemId &parent, const wxString &text, int image=-1, int selectedImage=-1, wxTreeItemData *data=NULL)
 
void Delete (const wxTreeItemId &item)
 
void DeleteChildren (const wxTreeItemId &item)
 
void DeleteRoot ()
 
void SetItemParent (const wxTreeItemId &parent, const wxTreeItemId &item)
 
void Expand (const wxTreeItemId &item)
 
void ExpandAll (const wxTreeItemId &item)
 
void Collapse (const wxTreeItemId &item)
 
void CollapseAndReset (const wxTreeItemId &item)
 
void Toggle (const wxTreeItemId &item)
 
void SetCurrentItem (const wxTreeItemId &item=(wxTreeItemId *) NULL)
 
void Unselect ()
 
void UnselectAll ()
 
bool SelectItem (const wxTreeItemId &item, const wxTreeItemId &last=(wxTreeItemId *) NULL, bool unselect_others=true)
 
void SelectAll ()
 
void EnsureVisible (const wxTreeItemId &item)
 
void ScrollTo (const wxTreeItemId &item)
 
wxTreeItemId HitTest (const wxPoint &point)
 
wxTreeItemId HitTest (const wxPoint &point, int &flags)
 
wxTreeItemId HitTest (const wxPoint &point, int &flags, int &column)
 
bool GetBoundingRect (const wxTreeItemId &item, wxRect &rect, bool textOnly=false) const
 
void EditLabel (const wxTreeItemId &item)
 
void EditLabel (const wxTreeItemId &item, int column)
 
void EndEdit (bool isCancelled)
 
virtual wxString OnGetItemText (wxTreeItemData *item, long column) const
 
virtual int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2)
 
virtual int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2, int column)
 
void SortChildren (const wxTreeItemId &item, int column=-1, bool reverseOrder=false)
 
wxTreeItemId FindItem (const wxTreeItemId &item, const wxString &str, int mode=0)
 
wxTreeItemId FindItem (const wxTreeItemId &item, int column, const wxString &str, int mode=0)
 
virtual bool SetBackgroundColour (const wxColour &colour)
 
virtual bool SetForegroundColour (const wxColour &colour)
 
void SetDragItem (const wxTreeItemId &item=(wxTreeItemId *) NULL)
 
virtual wxSize DoGetBestSize () const
 

Protected Member Functions

wxTreeListHeaderWindowGetHeaderWindow () const
 
wxTreeListMainWindowGetMainWindow () const
 
int GetHeaderHeight () const
 
void CalculateAndSetHeaderHeight ()
 
void DoHeaderLayout ()
 
void OnSize (wxSizeEvent &event)
 

Protected Attributes

wxTreeListHeaderWindowm_header_win
 
wxTreeListMainWindowm_main_win
 

Private Attributes

int m_headerHeight
 

Friends

class wxTreeListHeaderWindow
 
class wxTreeListMainWindow
 
class wxTreeListItem
 

Detailed Description

Definition at line 141 of file treelistctrl.h.

Constructor & Destructor Documentation

◆ wxTreeListCtrl() [1/2]

wxTreeListCtrl::wxTreeListCtrl ( )
inline

Definition at line 150 of file treelistctrl.h.

◆ wxTreeListCtrl() [2/2]

wxTreeListCtrl::wxTreeListCtrl ( wxWindow *  parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTR_DEFAULT_STYLE,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxTreeListCtrlNameStr 
)
inline

Definition at line 154 of file treelistctrl.h.

References name.

◆ ~wxTreeListCtrl()

virtual wxTreeListCtrl::~wxTreeListCtrl ( )
inlinevirtual

Definition at line 165 of file treelistctrl.h.

Member Function Documentation

◆ AddColumn() [1/2]

void wxTreeListCtrl::AddColumn ( const wxString &  text,
int  width = DEFAULT_COL_WIDTH,
int  flag = wxALIGN_LEFT,
int  image = -1,
bool  shown = true,
bool  edit = false 
)
inline

Definition at line 223 of file treelistctrl.h.

◆ AddColumn() [2/2]

void wxTreeListCtrl::AddColumn ( const wxTreeListColumnInfo colInfo)

Definition at line 6204 of file treelistctrl.cpp.

◆ AddRoot()

wxTreeItemId wxTreeListCtrl::AddRoot ( const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 5993 of file treelistctrl.cpp.

◆ AppendItem()

wxTreeItemId wxTreeListCtrl::AppendItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 6027 of file treelistctrl.cpp.

Referenced by CustomWindow::layoutChild(), and populateTreeListCtrl().

◆ AssignButtonsImageList()

void wxTreeListCtrl::AssignButtonsImageList ( wxImageList *  imageList)

Definition at line 5677 of file treelistctrl.cpp.

◆ AssignImageList()

void wxTreeListCtrl::AssignImageList ( wxImageList *  imageList)

Definition at line 5667 of file treelistctrl.cpp.

◆ AssignStateImageList()

void wxTreeListCtrl::AssignStateImageList ( wxImageList *  imageList)

Definition at line 5672 of file treelistctrl.cpp.

◆ CalculateAndSetHeaderHeight()

void wxTreeListCtrl::CalculateAndSetHeaderHeight ( )
protected

Definition at line 5564 of file treelistctrl.cpp.

References _T, EXTRA_HEIGHT, and HEADER_OFFSET_Y.

◆ Collapse()

void wxTreeListCtrl::Collapse ( const wxTreeItemId &  item)

Definition at line 6060 of file treelistctrl.cpp.

◆ CollapseAndReset()

void wxTreeListCtrl::CollapseAndReset ( const wxTreeItemId &  item)

Definition at line 6065 of file treelistctrl.cpp.

◆ Create()

bool wxTreeListCtrl::Create ( wxWindow *  parent,
wxWindowID  id = -1,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTR_DEFAULT_STYLE,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxTreeListCtrlNameStr 
)

Definition at line 5540 of file treelistctrl.cpp.

References name, wxTreeListHeaderWindow, and wxTreeListMainWindow::wxTreeListMainWindow().

Here is the call graph for this function:

◆ Delete()

void wxTreeListCtrl::Delete ( const wxTreeItemId &  item)

Definition at line 6035 of file treelistctrl.cpp.

◆ DeleteChildren()

void wxTreeListCtrl::DeleteChildren ( const wxTreeItemId &  item)

Definition at line 6040 of file treelistctrl.cpp.

◆ DeleteRoot()

void wxTreeListCtrl::DeleteRoot ( )

Definition at line 6045 of file treelistctrl.cpp.

◆ DoGetBestSize()

wxSize wxTreeListCtrl::DoGetBestSize ( ) const
virtual

Definition at line 6293 of file treelistctrl.cpp.

◆ DoHeaderLayout()

void wxTreeListCtrl::DoHeaderLayout ( )
protected

Definition at line 5592 of file treelistctrl.cpp.

◆ EditLabel() [1/2]

void wxTreeListCtrl::EditLabel ( const wxTreeItemId &  item)
inline

Definition at line 513 of file treelistctrl.h.

◆ EditLabel() [2/2]

void wxTreeListCtrl::EditLabel ( const wxTreeItemId &  item,
int  column 
)

Definition at line 6118 of file treelistctrl.cpp.

◆ EndEdit()

void wxTreeListCtrl::EndEdit ( bool  isCancelled)

Definition at line 6122 of file treelistctrl.cpp.

◆ EnsureVisible()

void wxTreeListCtrl::EnsureVisible ( const wxTreeItemId &  item)

Definition at line 6096 of file treelistctrl.cpp.

◆ Expand()

void wxTreeListCtrl::Expand ( const wxTreeItemId &  item)

Definition at line 6050 of file treelistctrl.cpp.

◆ ExpandAll()

void wxTreeListCtrl::ExpandAll ( const wxTreeItemId &  item)

Definition at line 6055 of file treelistctrl.cpp.

◆ FindItem() [1/2]

wxTreeItemId wxTreeListCtrl::FindItem ( const wxTreeItemId &  item,
const wxString &  str,
int  mode = 0 
)
inline

Definition at line 534 of file treelistctrl.h.

References FindItem().

Referenced by FindItem().

Here is the call graph for this function:

◆ FindItem() [2/2]

wxTreeItemId wxTreeListCtrl::FindItem ( const wxTreeItemId &  item,
int  column,
const wxString &  str,
int  mode = 0 
)

Definition at line 6145 of file treelistctrl.cpp.

◆ GetBoundingRect()

bool wxTreeListCtrl::GetBoundingRect ( const wxTreeItemId &  item,
wxRect &  rect,
bool  textOnly = false 
) const

Definition at line 6112 of file treelistctrl.cpp.

◆ GetButtonsImageList()

wxImageList * wxTreeListCtrl::GetButtonsImageList ( ) const

Definition at line 5647 of file treelistctrl.cpp.

◆ GetChildrenCount()

size_t wxTreeListCtrl::GetChildrenCount ( const wxTreeItemId &  item,
bool  recursively = true 
)

Definition at line 5864 of file treelistctrl.cpp.

◆ GetColumn() [1/2]

wxTreeListColumnInfo wxTreeListCtrl::GetColumn ( int  column)

◆ GetColumn() [2/2]

const wxTreeListColumnInfo & wxTreeListCtrl::GetColumn ( int  column) const

Definition at line 6228 of file treelistctrl.cpp.

◆ GetColumnAlignment()

int wxTreeListCtrl::GetColumnAlignment ( int  column) const

Definition at line 6277 of file treelistctrl.cpp.

◆ GetColumnCount()

int wxTreeListCtrl::GetColumnCount ( ) const

◆ GetColumnImage()

int wxTreeListCtrl::GetColumnImage ( int  column) const

Definition at line 6244 of file treelistctrl.cpp.

◆ GetColumnText()

wxString wxTreeListCtrl::GetColumnText ( int  column) const

Definition at line 6199 of file treelistctrl.cpp.

◆ GetColumnWidth()

int wxTreeListCtrl::GetColumnWidth ( int  column) const

Definition at line 6178 of file treelistctrl.cpp.

◆ GetCount()

size_t wxTreeListCtrl::GetCount ( ) const

Definition at line 5612 of file treelistctrl.cpp.

◆ GetFirstChild()

wxTreeItemId wxTreeListCtrl::GetFirstChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 5890 of file treelistctrl.cpp.

◆ GetFirstExpandedItem()

wxTreeItemId wxTreeListCtrl::GetFirstExpandedItem ( ) const

Definition at line 5954 of file treelistctrl.cpp.

◆ GetFirstVisible()

wxTreeItemId wxTreeListCtrl::GetFirstVisible ( bool  fullRow = false,
bool  within = true 
) const

Definition at line 5973 of file treelistctrl.cpp.

◆ GetFirstVisibleItem()

wxTreeItemId wxTreeListCtrl::GetFirstVisibleItem ( bool  fullRow = false) const

Definition at line 5969 of file treelistctrl.cpp.

References wxTreeListMainWindow::GetFirstVisible().

Here is the call graph for this function:

◆ GetHeaderHeight()

int wxTreeListCtrl::GetHeaderHeight ( ) const
inlineprotected

Definition at line 558 of file treelistctrl.h.

◆ GetHeaderWindow()

◆ GetImageList()

wxImageList * wxTreeListCtrl::GetImageList ( ) const

Definition at line 5637 of file treelistctrl.cpp.

◆ GetIndent()

unsigned int wxTreeListCtrl::GetIndent ( ) const

Definition at line 5617 of file treelistctrl.cpp.

◆ GetItemBackgroundColour() [1/2]

wxColour wxTreeListCtrl::GetItemBackgroundColour ( const wxTreeItemId &  item) const

Definition at line 5725 of file treelistctrl.cpp.

◆ GetItemBackgroundColour() [2/2]

wxColour wxTreeListCtrl::GetItemBackgroundColour ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5729 of file treelistctrl.cpp.

◆ GetItemBold() [1/2]

bool wxTreeListCtrl::GetItemBold ( const wxTreeItemId &  item) const

Definition at line 5707 of file treelistctrl.cpp.

◆ GetItemBold() [2/2]

bool wxTreeListCtrl::GetItemBold ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5711 of file treelistctrl.cpp.

◆ GetItemData() [1/2]

wxTreeItemData * wxTreeListCtrl::GetItemData ( const wxTreeItemId &  item) const

Definition at line 5698 of file treelistctrl.cpp.

◆ GetItemData() [2/2]

wxTreeItemData * wxTreeListCtrl::GetItemData ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5702 of file treelistctrl.cpp.

◆ GetItemFont() [1/2]

wxFont wxTreeListCtrl::GetItemFont ( const wxTreeItemId &  item) const

Definition at line 5734 of file treelistctrl.cpp.

◆ GetItemFont() [2/2]

wxFont wxTreeListCtrl::GetItemFont ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5738 of file treelistctrl.cpp.

◆ GetItemImage() [1/2]

int wxTreeListCtrl::GetItemImage ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5693 of file treelistctrl.cpp.

◆ GetItemImage() [2/2]

int wxTreeListCtrl::GetItemImage ( const wxTreeItemId &  item,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
) const

Definition at line 5689 of file treelistctrl.cpp.

◆ GetItemParent()

wxTreeItemId wxTreeListCtrl::GetItemParent ( const wxTreeItemId &  item) const

◆ GetItemText() [1/2]

wxString wxTreeListCtrl::GetItemText ( const wxTreeItemId &  item) const
inline

Definition at line 283 of file treelistctrl.h.

References GetItemText().

Referenced by GetItemText(), wxTreeListItem::GetText(), and getTreeListCtrlValue().

Here is the call graph for this function:

◆ GetItemText() [2/2]

wxString wxTreeListCtrl::GetItemText ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5684 of file treelistctrl.cpp.

◆ GetItemTextColour() [1/2]

wxColour wxTreeListCtrl::GetItemTextColour ( const wxTreeItemId &  item) const

Definition at line 5716 of file treelistctrl.cpp.

◆ GetItemTextColour() [2/2]

wxColour wxTreeListCtrl::GetItemTextColour ( const wxTreeItemId &  item,
int  column 
) const

Definition at line 5720 of file treelistctrl.cpp.

◆ GetLastChild()

wxTreeItemId wxTreeListCtrl::GetLastChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 5923 of file treelistctrl.cpp.

◆ GetLastVisible()

wxTreeItemId wxTreeListCtrl::GetLastVisible ( bool  fullRow = false,
bool  within = true 
) const

Definition at line 5978 of file treelistctrl.cpp.

◆ GetLineSpacing()

unsigned int wxTreeListCtrl::GetLineSpacing ( ) const

Definition at line 5627 of file treelistctrl.cpp.

◆ GetMainColumn()

int wxTreeListCtrl::GetMainColumn ( ) const

Definition at line 6188 of file treelistctrl.cpp.

Referenced by wxTreeListItem::GetImage(), and wxTreeListItem::SetImage().

◆ GetMainWindow()

wxTreeListMainWindow * wxTreeListCtrl::GetMainWindow ( ) const
inlineprotected

Definition at line 554 of file treelistctrl.h.

◆ GetNext()

wxTreeItemId wxTreeListCtrl::GetNext ( const wxTreeItemId &  item) const

Definition at line 5944 of file treelistctrl.cpp.

◆ GetNextChild()

wxTreeItemId wxTreeListCtrl::GetNextChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 5901 of file treelistctrl.cpp.

◆ GetNextExpanded()

wxTreeItemId wxTreeListCtrl::GetNextExpanded ( const wxTreeItemId &  item) const

Definition at line 5959 of file treelistctrl.cpp.

◆ GetNextSibling()

wxTreeItemId wxTreeListCtrl::GetNextSibling ( const wxTreeItemId &  item) const

Definition at line 5934 of file treelistctrl.cpp.

◆ GetNextVisible()

wxTreeItemId wxTreeListCtrl::GetNextVisible ( const wxTreeItemId &  item,
bool  fullRow = false,
bool  within = true 
) const

Definition at line 5983 of file treelistctrl.cpp.

◆ GetPrev()

wxTreeItemId wxTreeListCtrl::GetPrev ( const wxTreeItemId &  item) const

Definition at line 5949 of file treelistctrl.cpp.

◆ GetPrevChild()

wxTreeItemId wxTreeListCtrl::GetPrevChild ( const wxTreeItemId &  item,
long &  cookie 
) const

Definition at line 5912 of file treelistctrl.cpp.

◆ GetPrevExpanded()

wxTreeItemId wxTreeListCtrl::GetPrevExpanded ( const wxTreeItemId &  item) const

Definition at line 5964 of file treelistctrl.cpp.

◆ GetPrevSibling()

wxTreeItemId wxTreeListCtrl::GetPrevSibling ( const wxTreeItemId &  item) const

Definition at line 5939 of file treelistctrl.cpp.

◆ GetPrevVisible()

wxTreeItemId wxTreeListCtrl::GetPrevVisible ( const wxTreeItemId &  item,
bool  fullRow = false,
bool  within = true 
) const

Definition at line 5988 of file treelistctrl.cpp.

◆ GetRootItem()

wxTreeItemId wxTreeListCtrl::GetRootItem ( ) const

Definition at line 5869 of file treelistctrl.cpp.

Referenced by CustomWindow::layoutChild(), and populateTreeListCtrl().

◆ GetSelection()

wxTreeItemId wxTreeListCtrl::GetSelection ( ) const

Definition at line 5874 of file treelistctrl.cpp.

◆ GetSelections()

size_t wxTreeListCtrl::GetSelections ( wxArrayTreeItemIds &  arr) const

Definition at line 5879 of file treelistctrl.cpp.

Referenced by getTreeListCtrlValue().

◆ GetStateImageList()

wxImageList * wxTreeListCtrl::GetStateImageList ( ) const

Definition at line 5642 of file treelistctrl.cpp.

◆ GetWindowStyle()

long wxTreeListCtrl::GetWindowStyle ( ) const

Definition at line 5836 of file treelistctrl.cpp.

◆ GetWindowStyleFlag()

long wxTreeListCtrl::GetWindowStyleFlag ( ) const
inline

Definition at line 359 of file treelistctrl.h.

◆ HasChildren()

bool wxTreeListCtrl::HasChildren ( const wxTreeItemId &  item) const

Definition at line 5849 of file treelistctrl.cpp.

◆ HitTest() [1/3]

wxTreeItemId wxTreeListCtrl::HitTest ( const wxPoint &  point)
inline

Definition at line 500 of file treelistctrl.h.

References wxTreeListItem::HitTest().

Here is the call graph for this function:

◆ HitTest() [2/3]

wxTreeItemId wxTreeListCtrl::HitTest ( const wxPoint &  point,
int &  flags 
)
inline

Definition at line 502 of file treelistctrl.h.

References wxTreeListItem::HitTest().

Here is the call graph for this function:

◆ HitTest() [3/3]

wxTreeItemId wxTreeListCtrl::HitTest ( const wxPoint &  point,
int &  flags,
int &  column 
)

Definition at line 6106 of file treelistctrl.cpp.

◆ InsertColumn() [1/2]

void wxTreeListCtrl::InsertColumn ( int  before,
const wxString &  text,
int  width = DEFAULT_COL_WIDTH,
int  flag = wxALIGN_LEFT,
int  image = -1,
bool  shown = true,
bool  edit = false 
)
inline

Definition at line 234 of file treelistctrl.h.

◆ InsertColumn() [2/2]

void wxTreeListCtrl::InsertColumn ( int  before,
const wxTreeListColumnInfo colInfo 
)

Definition at line 6210 of file treelistctrl.cpp.

◆ InsertItem() [1/2]

wxTreeItemId wxTreeListCtrl::InsertItem ( const wxTreeItemId &  parent,
const wxTreeItemId &  idPrevious,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 6007 of file treelistctrl.cpp.

◆ InsertItem() [2/2]

wxTreeItemId wxTreeListCtrl::InsertItem ( const wxTreeItemId &  parent,
size_t  index,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 6017 of file treelistctrl.cpp.

◆ IsBold() [1/2]

bool wxTreeListCtrl::IsBold ( const wxTreeItemId &  item) const
inline

Definition at line 348 of file treelistctrl.h.

References IsBold().

Referenced by IsBold().

Here is the call graph for this function:

◆ IsBold() [2/2]

bool wxTreeListCtrl::IsBold ( const wxTreeItemId &  item,
int  column 
) const
inline

Definition at line 349 of file treelistctrl.h.

◆ IsColumnEditable()

bool wxTreeListCtrl::IsColumnEditable ( int  column) const

Definition at line 6261 of file treelistctrl.cpp.

◆ IsColumnShown()

bool wxTreeListCtrl::IsColumnShown ( int  column) const

Definition at line 6266 of file treelistctrl.cpp.

◆ IsExpanded()

bool wxTreeListCtrl::IsExpanded ( const wxTreeItemId &  item) const

Definition at line 5854 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::IsVisible().

◆ IsSelected()

bool wxTreeListCtrl::IsSelected ( const wxTreeItemId &  item) const

Definition at line 5859 of file treelistctrl.cpp.

◆ IsVisible()

bool wxTreeListCtrl::IsVisible ( const wxTreeItemId &  item,
bool  fullRow = false,
bool  within = true 
) const

Definition at line 5844 of file treelistctrl.cpp.

◆ OnCompareItems() [1/2]

int wxTreeListCtrl::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2 
)
virtual

Definition at line 6127 of file treelistctrl.cpp.

References wxTreeListMainWindow::GetItemText().

Referenced by wxTreeListMainWindow::OnCompareItems().

Here is the call graph for this function:

◆ OnCompareItems() [2/2]

int wxTreeListCtrl::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2,
int  column 
)
virtual

Definition at line 6133 of file treelistctrl.cpp.

References wxTreeListMainWindow::GetItemText().

Here is the call graph for this function:

◆ OnGetItemText()

wxString wxTreeListCtrl::OnGetItemText ( wxTreeItemData *  item,
long  column 
) const
virtual

Definition at line 6300 of file treelistctrl.cpp.

Referenced by wxTreeListMainWindow::GetItemText().

◆ OnSize()

void wxTreeListCtrl::OnSize ( wxSizeEvent &  event)
protected

Definition at line 5607 of file treelistctrl.cpp.

◆ PrependItem()

wxTreeItemId wxTreeListCtrl::PrependItem ( const wxTreeItemId &  parent,
const wxString &  text,
int  image = -1,
int  selectedImage = -1,
wxTreeItemData *  data = NULL 
)

Definition at line 5999 of file treelistctrl.cpp.

◆ Refresh()

void wxTreeListCtrl::Refresh ( bool  erase = TRUE,
const wxRect *  rect = NULL 
)

Definition at line 6282 of file treelistctrl.cpp.

◆ RemoveColumn()

void wxTreeListCtrl::RemoveColumn ( int  column)

Definition at line 6216 of file treelistctrl.cpp.

◆ ScrollTo()

void wxTreeListCtrl::ScrollTo ( const wxTreeItemId &  item)

Definition at line 6101 of file treelistctrl.cpp.

◆ SelectAll()

void wxTreeListCtrl::SelectAll ( )

Definition at line 6091 of file treelistctrl.cpp.

◆ SelectItem()

bool wxTreeListCtrl::SelectItem ( const wxTreeItemId &  item,
const wxTreeItemId &  last = (wxTreeItemId*)NULL,
bool  unselect_others = true 
)

Definition at line 6085 of file treelistctrl.cpp.

◆ SetBackgroundColour()

bool wxTreeListCtrl::SetBackgroundColour ( const wxColour &  colour)
virtual

Definition at line 6155 of file treelistctrl.cpp.

◆ SetButtonsImageList()

void wxTreeListCtrl::SetButtonsImageList ( wxImageList *  imageList)

Definition at line 5662 of file treelistctrl.cpp.

◆ SetColumn()

void wxTreeListCtrl::SetColumn ( int  column,
const wxTreeListColumnInfo colInfo 
)

Definition at line 6222 of file treelistctrl.cpp.

◆ SetColumnAlignment()

void wxTreeListCtrl::SetColumnAlignment ( int  column,
int  flag 
)

Definition at line 6271 of file treelistctrl.cpp.

◆ SetColumnEditable()

void wxTreeListCtrl::SetColumnEditable ( int  column,
bool  edit = true 
)

Definition at line 6249 of file treelistctrl.cpp.

◆ SetColumnImage()

void wxTreeListCtrl::SetColumnImage ( int  column,
int  image 
)

Definition at line 6238 of file treelistctrl.cpp.

◆ SetColumnShown()

void wxTreeListCtrl::SetColumnShown ( int  column,
bool  shown = true 
)

Definition at line 6254 of file treelistctrl.cpp.

References _T, and wxTreeListMainWindow::GetMainColumn().

Here is the call graph for this function:

◆ SetColumnText()

void wxTreeListCtrl::SetColumnText ( int  column,
const wxString &  text 
)

Definition at line 6193 of file treelistctrl.cpp.

◆ SetColumnWidth()

void wxTreeListCtrl::SetColumnWidth ( int  column,
int  width 
)

Definition at line 6172 of file treelistctrl.cpp.

◆ SetCurrentItem()

void wxTreeListCtrl::SetCurrentItem ( const wxTreeItemId &  item = (wxTreeItemId*)NULL)

Definition at line 6321 of file treelistctrl.cpp.

◆ SetDragItem()

void wxTreeListCtrl::SetDragItem ( const wxTreeItemId &  item = (wxTreeItemId*)NULL)

Definition at line 6150 of file treelistctrl.cpp.

◆ SetFocus()

void wxTreeListCtrl::SetFocus ( )

Definition at line 6288 of file treelistctrl.cpp.

Referenced by wxEditTextCtrl::EndEdit().

◆ SetFont()

bool wxTreeListCtrl::SetFont ( const wxFont &  font)
virtual

Definition at line 5811 of file treelistctrl.cpp.

Referenced by CustomWindow::layoutChild().

◆ SetForegroundColour()

bool wxTreeListCtrl::SetForegroundColour ( const wxColour &  colour)
virtual

Definition at line 6161 of file treelistctrl.cpp.

◆ SetImageList()

void wxTreeListCtrl::SetImageList ( wxImageList *  imageList)

Definition at line 5652 of file treelistctrl.cpp.

◆ SetIndent()

void wxTreeListCtrl::SetIndent ( unsigned int  indent)

Definition at line 5622 of file treelistctrl.cpp.

◆ SetItemBackgroundColour() [1/2]

void wxTreeListCtrl::SetItemBackgroundColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)

Definition at line 5791 of file treelistctrl.cpp.

◆ SetItemBackgroundColour() [2/2]

void wxTreeListCtrl::SetItemBackgroundColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)

Definition at line 5795 of file treelistctrl.cpp.

◆ SetItemBold() [1/2]

void wxTreeListCtrl::SetItemBold ( const wxTreeItemId &  item,
bool  bold = true 
)

Definition at line 5773 of file treelistctrl.cpp.

◆ SetItemBold() [2/2]

void wxTreeListCtrl::SetItemBold ( const wxTreeItemId &  item,
int  column,
bool  bold = true 
)

Definition at line 5777 of file treelistctrl.cpp.

◆ SetItemData() [1/2]

void wxTreeListCtrl::SetItemData ( const wxTreeItemId &  item,
int  column,
wxTreeItemData *  data 
)

Definition at line 5768 of file treelistctrl.cpp.

◆ SetItemData() [2/2]

void wxTreeListCtrl::SetItemData ( const wxTreeItemId &  item,
wxTreeItemData *  data 
)

Definition at line 5764 of file treelistctrl.cpp.

◆ SetItemFont() [1/2]

void wxTreeListCtrl::SetItemFont ( const wxTreeItemId &  item,
const wxFont &  font 
)

Definition at line 5800 of file treelistctrl.cpp.

◆ SetItemFont() [2/2]

void wxTreeListCtrl::SetItemFont ( const wxTreeItemId &  item,
int  column,
const wxFont &  font 
)

Definition at line 5804 of file treelistctrl.cpp.

◆ SetItemHasChildren()

void wxTreeListCtrl::SetItemHasChildren ( const wxTreeItemId &  item,
bool  has = true 
)

Definition at line 5745 of file treelistctrl.cpp.

◆ SetItemImage() [1/2]

void wxTreeListCtrl::SetItemImage ( const wxTreeItemId &  item,
int  column,
int  image 
)

Definition at line 5759 of file treelistctrl.cpp.

◆ SetItemImage() [2/2]

void wxTreeListCtrl::SetItemImage ( const wxTreeItemId &  item,
int  image,
wxTreeItemIcon  which = wxTreeItemIcon_Normal 
)

Definition at line 5755 of file treelistctrl.cpp.

◆ SetItemParent()

void wxTreeListCtrl::SetItemParent ( const wxTreeItemId &  parent,
const wxTreeItemId &  item 
)

Definition at line 6326 of file treelistctrl.cpp.

◆ SetItemText() [1/2]

void wxTreeListCtrl::SetItemText ( const wxTreeItemId &  item,
const wxString &  text 
)

Referenced by populateTreeListCtrl().

◆ SetItemText() [2/2]

void wxTreeListCtrl::SetItemText ( const wxTreeItemId &  item,
int  column,
const wxString &  text 
)

Definition at line 5750 of file treelistctrl.cpp.

◆ SetItemTextColour() [1/2]

void wxTreeListCtrl::SetItemTextColour ( const wxTreeItemId &  item,
const wxColour &  colour 
)

Definition at line 5782 of file treelistctrl.cpp.

◆ SetItemTextColour() [2/2]

void wxTreeListCtrl::SetItemTextColour ( const wxTreeItemId &  item,
int  column,
const wxColour &  colour 
)

Definition at line 5786 of file treelistctrl.cpp.

◆ SetItemToolTip()

void wxTreeListCtrl::SetItemToolTip ( const wxTreeItemId &  item,
const wxString &  tip 
)

Definition at line 6316 of file treelistctrl.cpp.

◆ SetLineSpacing()

void wxTreeListCtrl::SetLineSpacing ( unsigned int  spacing)

Definition at line 5632 of file treelistctrl.cpp.

◆ SetMainColumn()

void wxTreeListCtrl::SetMainColumn ( int  column)

Definition at line 6183 of file treelistctrl.cpp.

◆ SetStateImageList()

void wxTreeListCtrl::SetStateImageList ( wxImageList *  imageList)

Definition at line 5657 of file treelistctrl.cpp.

◆ SetToolTip() [1/2]

void wxTreeListCtrl::SetToolTip ( const wxString &  tip)

Definition at line 6305 of file treelistctrl.cpp.

◆ SetToolTip() [2/2]

void wxTreeListCtrl::SetToolTip ( wxToolTip *  tip)

Definition at line 6310 of file treelistctrl.cpp.

◆ SetWindowStyle()

void wxTreeListCtrl::SetWindowStyle ( const long  styles)

Definition at line 5829 of file treelistctrl.cpp.

◆ SortChildren()

void wxTreeListCtrl::SortChildren ( const wxTreeItemId &  item,
int  column = -1,
bool  reverseOrder = false 
)

Definition at line 6140 of file treelistctrl.cpp.

◆ Toggle()

void wxTreeListCtrl::Toggle ( const wxTreeItemId &  item)

Definition at line 6070 of file treelistctrl.cpp.

◆ Unselect()

void wxTreeListCtrl::Unselect ( )

Definition at line 6075 of file treelistctrl.cpp.

◆ UnselectAll()

void wxTreeListCtrl::UnselectAll ( )

Definition at line 6080 of file treelistctrl.cpp.

Friends And Related Function Documentation

◆ wxTreeListHeaderWindow

friend class wxTreeListHeaderWindow
friend

Definition at line 143 of file treelistctrl.h.

◆ wxTreeListItem

friend class wxTreeListItem
friend

Definition at line 145 of file treelistctrl.h.

◆ wxTreeListMainWindow

friend class wxTreeListMainWindow
friend

Definition at line 144 of file treelistctrl.h.

Member Data Documentation

◆ m_header_win

wxTreeListHeaderWindow* wxTreeListCtrl::m_header_win
protected

Definition at line 551 of file treelistctrl.h.

◆ m_headerHeight

int wxTreeListCtrl::m_headerHeight
private

Definition at line 565 of file treelistctrl.h.

◆ m_main_win

wxTreeListMainWindow* wxTreeListCtrl::m_main_win
protected

Definition at line 556 of file treelistctrl.h.


The documentation for this class was generated from the following files: