]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/listbox.tex
{Get/Set}{Width/Height} documented
[wxWidgets.git] / docs / latex / wx / listbox.tex
index c34798f1302a5a6ed73f30e4ba46da23856c9680..c992c8387b7380d4b25f31f52ab4a281bc10e7eb 100644 (file)
@@ -237,6 +237,9 @@ Use this with a multiple selection listbox.
 \helpref{wxListBox::GetStringSelection}{wxlistboxgetstringselection},\rtfsp
 \helpref{wxListBox::SetSelection}{wxlistboxsetselection}
 
+\pythonnote{The wxPython version of this method takes no parameters
+and returns a tuple of the selected items.}
+
 \membersection{wxListBox::GetString}\label{wxlistboxgetstring}
 
 \constfunc{wxString}{GetString}{\param{int}{ n}}
@@ -265,6 +268,21 @@ it.
 \helpref{wxListBox::GetSelections}{wxlistboxgetselections},\rtfsp
 \helpref{wxListBox::SetSelection}{wxlistboxsetselection}
 
+\membersection{wxListBox::InsertItems}\label{wxlistboxinsertitems}
+
+\func{void}{InsertItems}{\param{int}{ nItems}, \param{const wxString}{ items}, \param{int}{ pos}}
+
+Insert the given number of strings before the specified position.
+
+\wxheading{Parameters}
+
+\docparam{nItems}{Number of items in the array {\it items}}
+
+\docparam{items}{Labels of items to be inserted}
+
+\docparam{pos}{Position before which to insert the items: for example, if {\it pos} is 0 the items
+will be inserted in the beginning of the listbox}
+
 \membersection{wxListBox::Number}\label{wxlistboxnumber}
 
 \constfunc{int}{Number}{\void}