ClanSoft logo
ClanSoft logo
Entire Class Index Main Class Index Cross Index Global Index

Class CL_TreeView_Item

TreeView_Item component
Contained in: global
Derived from: CL_Component
Derived by: none
Group: GUI (Controls)

#include <ClanLib/gui.h>


public function member index:

Construction:

CL_TreeView_Item(CL_Component* parent, CL_StyleManager* style = NULL);
CL_TreeView_Item(const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL);
virtual ~CL_TreeView_Item();

Attributes:

bool is_open() const;
bool is_highlighted() const;
bool has_subtree() const;
const std::string& get_text() const;

Operations:

void set_text(const std::string& text);

Signals:

CL_Signal_v0& sig_clicked();
 

private function member index:

Implementation:

CL_TreeView_Item(const CL_TreeView_Item& copy);
 

Description:


Function Member Descriptions:

CL_TreeView_Item::CL_TreeView_Item - TreeView Item Constructor
CL_TreeView_Item(CL_Component* parent, CL_StyleManager* style = NULL);


CL_TreeView_Item::CL_TreeView_Item - TreeView Item Constructor
CL_TreeView_Item(const std::string& text, CL_Component* parent, CL_StyleManager* style = NULL);


CL_TreeView_Item::get_text - Returns the item label.
const std::string& get_text() const;
Returns - The item label.



CL_TreeView_Item::has_subtree - Has submenu
bool has_subtree() const;


CL_TreeView_Item::is_highlighted - Is highlighted
bool is_highlighted() const;


CL_TreeView_Item::is_open - Is open or closed
bool is_open() const;


CL_TreeView_Item::set_text - Sets the item label.
void set_text(const std::string& text);
text - The item label.



CL_TreeView_Item::sig_clicked - This signal is emitted when the item is clicked on.
CL_Signal_v0& sig_clicked();


CL_TreeView_Item::~CL_TreeView_Item - TreeView Item Destructor
virtual ~CL_TreeView_Item();



Variable Member Descriptions: