[wxPython-users] PopupTransientWindow not working correctly

Robin Dunn robin at alldunn.com
Mon May 28 13:59:31 PDT 2007


simon kagwe wrote:
> Hi,
> 
> I have tried creating a PopupTransientWindow with a SpinCtrl in it. However, I
> am not able to modify the value int the control by typing in it but the spin
> button works. Also tried an IntCtrl but also not able to type in it. What might
> I be doing wrong?

Platform and version?

PopupTransientWindow has problems with allowing child widgets to get the 
keyboard focus.  IIRC I  think you'll need to put event handlers in the 
PopupTransientWindow and manipulate the widgets yourself.  To double 
check this you can use wx.Window.FindFocus() to see which window has the 
focus.


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





More information about the wxpython-users mailing list