wxPython, wxcombobox opening

Philippe Martin pmartin at snakecard.com
Tue May 2 14:06:27 CEST 2006


Hi,

>From the wxPython list:

> Hi,
> 
> Which event must I catch to be called when the user clicks on the combo 
> "button" to make the drop down list to appear ?

No, there isn't a specific event for the opening of the drop-down box.


Regards,

Philippe





Philippe Martin wrote:

> Hi,
> 
> I do not have the answer but am very interested in the issue. I tried
> this:
> 
> l_ev = wx.MouseEvent(wx.wxEVT_LEFT_DOWN)
> l_ev.SetEventObject(self.GetCombo())
> self.GetEventHandler().ProcessEvent(l_ev)
> 
> Which did send the event to the combo (which is in a pannel in my case) ..
> but that is apparently not the event that triggers the dropping of the
> list.
> 
> I posed elsewhere and will forward here any hint.
> 
> Philippe
> 
> 
> 
> Rony Steelandt wrote:
> 
>> Hi,
>> 
>> Does somebody knows a way to automaticely open the list part of a
>> wxCombobox when it gets the focus ?
>> 
>> tia,
>> 
>> Rony




More information about the Python-list mailing list