Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/ceguilua/ceguilua-0.6.0/package/elements/Tree.pkg @ 2913

Last change on this file since 2913 was 2710, checked in by rgrieder, 16 years ago

Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/***********************************************************************
2        Tree
3***********************************************************************/
4class Tree : public Window
5{
6        size_t  getItemCount(void) const;
7        size_t  getSelectedCount(void) const;
8       
9        TreeItem*       getFirstSelectedItem(void) const;
10        TreeItem*       getLastSelectedItem(void) const;
11       
12        bool    isSortEnabled(void) const;
13        bool    isMultiselectEnabled(void) const;
14        bool    isItemTooltipsEnabled(void) const;
15       
16        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findFirstItemWithText(string text);
17        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findNextItemWithText(string text, const TreeItem* start_item);
18        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findFirstItemWithID(unsigned int searchID);
19        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findNextItemWithID(unsigned int searchID, const TreeItem* start_item);
20       
21        bool    isTreeItemInList(const TreeItem* item) const;
22        void    resetList(void);
23        void    addItem(TreeItem* item);
24       
25        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| void        insertItem(TreeItem* item, const TreeItem* position);
26        void    removeItem(const TreeItem* item);
27        void    clearAllSelections(void);
28        void    setSortingEnabled(bool setting);
29        void    setMultiselectEnabled(bool setting);
30        void    setItemSelectState(TreeItem* item, bool state);
31        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| void        setItemSelectState(size_t item_index, bool state);
32        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| void        ensureItemIsVisible(const TreeItem* item);
33};
Note: See TracBrowser for help on using the repository browser.