X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06d20283afba5439c8a2c1b3b7cd3390541da52d..d75c7970c4f530d2ea681ca3f92c97eb3b7bc251:/docs/latex/wx/listbox.tex diff --git a/docs/latex/wx/listbox.tex b/docs/latex/wx/listbox.tex index c34798f130..c992c8387b 100644 --- a/docs/latex/wx/listbox.tex +++ b/docs/latex/wx/listbox.tex @@ -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}