MCPcopy Create free account
hub / github.com/SOUI2/soui / STreeView

Method STreeView

SOUI/src/control/STreeView.cpp:387–400  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

385
386 //////////////////////////////////////////////////////////////////////////
387 STreeView::STreeView()
388 : m_itemCapture(NULL)
389 , m_pHoverItem(NULL)
390 , m_hSelected(ITvAdapter::ITEM_NULL)
391 , m_pVisibleMap(new VISIBLEITEMSMAP)
392 , m_bWantTab(FALSE)
393 {
394 m_bFocusable = TRUE;
395
396 m_evtSet.addEvent(EVENTID(EventTVSelChanging));
397 m_evtSet.addEvent(EVENTID(EventTVSelChanged));
398 m_observer.Attach(new STreeViewDataSetObserver(this));
399 m_tvItemLocator.Attach(new STreeViewItemLocator);
400 }
401
402 STreeView::~STreeView()
403 {

Callers

nothing calls this directly

Calls 2

addEventMethod · 0.45
AttachMethod · 0.45

Tested by

no test coverage detected