Update listbox documentation

This commit is contained in:
Mark de Wever 2009-08-16 20:28:51 +00:00
parent 4e522810cc
commit 8809308d70
2 changed files with 15 additions and 6 deletions

View File

@ -105,13 +105,22 @@ twidget* tbuilder_listbox::build() const
} // namespace gui2
/*WIKI_MACRO
* @start_macro = listbox_description
*
* A listbox is a control that holds several items of the same type.
* Normally the items in a listbox are ordered in rows, this version
* might allow more options for ordering the items in the future.
* @end_macro
*/
/*WIKI
* @page = GUIWidgetInstanceWML
* @order = 2_listbox
*
* == Listbox ==
*
* Instance of a listbox.
* @macro = listbox_description
*
* List with the listbox specific variables:
* @start_table = config

View File

@ -191,7 +191,7 @@ const std::string& tgui_definition::read(const config& cfg)
* Image @macro = image_description
* Horizontal_scrollbar @macro = horizontal_scrollbar_description
* Label @macro = label_description
* Listbox A listbox.
* Listbox @macro = listbox_description
* Menubar A menubar which is used in menus and the
* tabbar in a tabcontrol. (NOTE this widget
* is still under heavy development.)
@ -721,11 +721,11 @@ tlistbox_definition::tresolution::tresolution(const config& cfg) :
*
* == Listbox ==
*
* The definition of a normal listbox. A listbox is multiwidget class which
* means that it's build from multiple items. The definition of a listbox
* contains the definition of it's scrollbar.
* @macro = listbox_description
*
* The resolution for a text box also contains the following keys:
* The definition of a listbox contains the definition of it's scrollbar.
*
* The resolution for a listbox also contains the following keys:
* @start_table = config
* scrollbar (section) A grid containing the widgets for the
* scrollbar. The scrollbar has some special