37,719
社区成员
发帖
与我相关
我的任务
分享
In [189]: box2.GetClientData?
Type: instancemethod
String form: <bound method ListBox.GetClientData of <wx._controls.ListBox; proxy of <Swig Object of type 'wxListBox *' at 0x1cc5150> >>
File: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py
Definition: box2.GetClientData(*args, **kwargs)
Docstring:
GetClientData(self, int n) -> PyObject
Returns the client data associated with the given item, (if any.)
In [190]: box2.SetClientData?
Type: instancemethod
String form: <bound method ListBox.SetClientData of <wx._controls.ListBox; proxy of <Swig Object of type 'wxListBox *' at 0x1cc5150> >>
File: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py
Definition: box2.SetClientData(*args, **kwargs)
Docstring:
SetClientData(self, int n, PyObject clientData)
Associate the given client data with the item at position n.
In [191]: box2.Append?
Type: instancemethod
String form: <bound method ListBox.Append of <wx._controls.ListBox; proxy of <Swig Object of type 'wxListBox *' at 0x1cc5150> >>
File: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py
Definition: box2.Append(*args, **kwargs)
Docstring:
Append(self, String item, PyObject clientData=None) -> int
Adds the item to the control, associating the given data with the item
if not None. The return value is the index of the newly added item
which may be different from the last one if the control is sorted (e.g.
has wx.LB_SORT or wx.CB_SORT style).