Inheritance diagram for wx.combo.ComboPopup:
In order to use a custom popup with wx.combo.ComboCtrl, an interface class must be derived from wx.combo.ComboPopup.
For more information how to use it, see wx.combo.ComboCtrl.
See also
Default constructor. It is recommended that internal variables are prepared in Init.
Returns:
The derived class must implement this to create the popup control.
Returns True if the call succeeded, False otherwise.
Parameters:
Returns:
bool
Default PaintComboControl behaviour.
Parameters:
The derived class may implement this to return adjusted size for the popup control, according to the variables given.
Parameters:
Returns:
Note
This is called each time popup is about to be shown.
Returns a reference to the wx.combo.ComboCtrl this wx.combo.ComboPopup object is associated with.
Returns:
The derived class must implement this to return pointer to the associated control created in Create.
Returns:
The derived class must implement this to return string representation of the value.
Returns:
string
The derived class must implement this to initialize its internal variables.
This method is called immediately after construction finishes. Derived classes can override this to do extra inialization or whatever.
Utility method that returns True if Create has been called. Useful in conjunction with LazyCreate.
Returns:
bool
The derived class may implement this to return True if it wants to delay call to Create until the popup is shown for the first time.
It is more efficient, but on the other hand it is often more convenient to have the control created immediately.
Returns:
bool
Note
The base implementation returns False.
The derived class may implement this to receive key events from the parent wx.combo.ComboCtrl.
Events not handled should be skipped, as usual.
Parameters:
The derived class may implement this to paint the parent wx.combo.ComboCtrl.
Default implementation draws value as string.
Parameters:
The derived class must implement this to receive string value changes from wx.combo.ComboCtrl.
Parameters: