[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    Re: [vtk-developers] Python widgets grab focus on enter
From:       Prabhu Ramachandran <prabhu () aero ! iitm ! ernet ! in>
Date:       2003-10-11 12:40:42
Message-ID: 16263.63354.589721.663270 () monster ! linux ! in
[Download RAW message or body]

>>>>> "PR" == Prabhu Ramachandran <prabhu@aero.iitm.ernet.in> writes:

>>>>> "DG" == David Gobbi <dgobbi@imaging.robarts.ca> writes:

    DG> My advice is, switch the default behaviour to click-to-focus,
    DG> but leave the focus-under-mouse as an option.

    PR> Yes, that sounds like the best way to do it.  Is an option
    PR> called "focus_on_enter=0" to the constructor acceptable to
    PR> everyone?  If the value is 1 then focus-follows-mouse if its 0
    PR> (default) it will use click-to-focus?

I've changed the vtkTkRenderWidget, vtkTkRenderWindowInteractor and
the vtkTkImageViewerWidget as suggested.  I've tested them as best I
can under Linux and it seems OK but would appreciate if someone can
take a look or even see if its OK under Windows.

If no one complains in a while I'll change the wx and Gtk widgets in
similar fashion.  I'm not touching the Qt widget since I don't know
enough about pyQt anymore.

cheers,
prabhu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic