Reading the wxDocs

A perenial problem for me, so I'll ash YADQ (yet another dumb question),
whilst I'm fidding with combo's

In the docs for wxCombo:

See also
wxListBox, wxTextCtrl, wxChoice, wxCommandEvent

Members

wxComboBox::wxComboBox
wxComboBox::~wxComboBox
wxComboBox::Create
wxComboBox::CanCopy
wxComboBox::CanCut
wxComboBox::CanPaste
wxComboBox::CanRedo
wxComboBox::CanUndo
wxComboBox::Copy
wxComboBox::Cut
wxComboBox::GetInsertionPoint
wxComboBox::GetLastPosition
wxComboBox::GetValue
wxComboBox::Paste
wxComboBox::Redo
wxComboBox::Replace
wxComboBox::Remove
wxComboBox::SetInsertionPoint
wxComboBox::SetInsertionPointEnd
wxComboBox::SetSelection
wxComboBox::SetValue
wxComboBox::Undo

However, As I've started using wingide which has auto-complete, I note there
are many many other options which pertain to wxCombo which are not listed
here.( a couple o which are in the demo) such as GetClientData, which unless
my eyes decieve me (which is more than possible) is not in the above list.

So how does one interpret the docs to find out where all these other
properties are listed?

Does it mean that for each of the controls listed above the list (ie the
listbox, textctrl and wxchoice and command event, that all their methods also
work on a combo box?

Richard

Thanks.

widgets are often derived from other (base) classes and inherit their
properties.
The documentation lists (right at the top) from which class the widget is
derived, and the widget will thus have all properties and methods of it's
ancestors (of all of them).

Just follow through the hierarchy.

PS: some good IDEs (e.g. SPE) will include the whole hierarchy in their
autocompletion & parameter hint functionality

Horst

···

On Thu, 23 Feb 2006 08:14, Richard Terry wrote:

So how does one interpret the docs to find out where all these other
properties are listed?

nope, what does that mean is that those classes are relevant to the one you’re looking at.

also… please remember that wxpython is in some areas more than wxwidgets (the chm doc is for wxwidgets)
for a more complete look at methods look at:
http://www.wxpython.org/docs/api/

Peter.

···

On 2/22/06, Richard Terry rterry@internode.on.net wrote:

[snip]
Does it mean that for each of the controls listed above the list (ie the
listbox, textctrl and wxchoice and command event, that all their methods also
work on a combo box?

Richard Terry wrote:

A perenial problem for me, so I'll ash YADQ (yet another dumb question), whilst I'm fidding with combo's

However, As I've started using wingide which has auto-complete, I note there are many many other options which pertain to wxCombo which are not listed here.( a couple o which are in the demo) such as GetClientData, which unless my eyes decieve me (which is more than possible) is not in the above list.

So how does one interpret the docs to find out where all these other properties are listed?

Look at the "Derived from" list, and in this case in particular, look at wxControlWithItems. wx.ComboBox inherits the methods defined in wxControlWithItems, wxControl, wxWindow, etc.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!