GUI2: Document tsimple_item_selector

This commit is contained in:
Ignacio R. Morelle 2010-11-29 20:42:54 +00:00
parent 4d75723f83
commit 6a07c8409b

View File

@ -30,6 +30,37 @@
namespace gui2 {
/*WIKI
* @page = GUIWindowDefinitionWML
* @order = 2_simple_item_selector
*
* == Simple item selector ==
*
* A simple one-column listbox with OK and Cancel buttons.
*
* @begin{table}[dialog_widgets]
*
* title & & label & m &
* Dialog title label. $
*
* message & & label & m &
* Text label displaying a description or instructions. $
*
* listbox & & listbox & m &
* Listbox displaying user choices. $
*
* -item & & control & m &
* Widget which shows a listbox item label. $
*
* ok & & button & m &
* OK button. $
*
* cancel & & button & m &
* Cancel button. $
*
* @end{table}
*/
REGISTER_WINDOW(simple_item_selector)
tsimple_item_selector::tsimple_item_selector(const std::string& title, const std::string& message, list_type const& items, bool title_uses_markup, bool message_uses_markup)