Changeset 46
- Timestamp:
- 05/13/07 23:47:22 (2 years ago)
- Files:
-
- branches/bughunt/docs/minwin/listbox.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/bughunt/docs/minwin/listbox.d
r45 r46 1 1 /** 2 Display a list of items to choose from.2 Display a list of strings to choose from. 3 3 */ 4 4 … … 7 7 import minwin.component; 8 8 9 /// Widget that shows a list of items to choose from.9 /// Widget that displays a list of strings to choose from. 10 10 class ListBox : WindowChild 11 11 { 12 12 /** Constructs a new ListBox. 13 $(D_PARAM texts) - array of strings to be added to the list. 14 $(D_PARAM vscroll) - enable vertical scrollbar. 15 $(D_PARAM hscroll) - enable horizontal scrollbar. 13 Params: 14 texts = array of strings to be added to the list. 15 vscroll = enable vertical scrollbar. 16 hscroll = enable horizontal scrollbar. 16 17 */ 17 18 this(Component parent, char[][] texts, bool vscroll = true, bool hscroll = true, char[] name = "");
