____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <widgets.h>

Public Member Functions | |
| LuaListModel () | |
| void | setList (lua_State *lua, lua_Object *lo) |
| virtual int | getNumberOfElements () |
| virtual std::string | getElementAt (int i) |
Definition at line 244 of file widgets.h.
| void LuaListModel::setList | ( | lua_State * | lua, | |
| lua_Object * | lo | |||
| ) |
Set the list
Definition at line 1219 of file widgets.cpp.
References LuaToString().
Referenced by ListBoxWidget::setList().
| virtual int LuaListModel::getNumberOfElements | ( | ) | [inline, virtual] |
Gets the number of elements in the ListModel.
Implements gcn::ListModel.
| virtual std::string LuaListModel::getElementAt | ( | int | i | ) | [inline, virtual] |
Gets an element at a certain index in the list.
| i | an index in the list. |
Implements gcn::ListModel.
1.5.6