Changeset 45

Show
Ignore:
Timestamp:
05/13/07 23:26:27 (2 years ago)
Author:
lindquist
Message:

documentation update for listbox

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/bughunt/docs/minwin/listbox.d

    r44 r45  
    1010class ListBox : WindowChild 
    1111{ 
    12     /// Constructs a new ListBox from the given details. 
     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. 
     16    */ 
    1317    this(Component parent, char[][] texts, bool vscroll = true, bool hscroll = true, char[] name = ""); 
    1418    /// Read/write property for the current selection. 
    15     /// zero based index, -1 for none
     19    /// -1 for no selection
    1620    int selection; 
    17     /// Read-only property for getting the number of strings in the ListBox. 
     21    /// Readable property for getting the number of strings in the ListBox. 
    1822    int count; 
    19     /// Index operator overload for getting a string from the ListBox from a 
    20     /// zero based index. 
     23    /// Index operator overload for getting a string from the ListBox by index. 
    2124    char[] opIndex(int i); 
    2225}