[pygtk] grab_focus

Alessandro Dentella sandro at e-den.it
Fri May 16 15:19:01 WST 2008


hi,

  I want to let an entry to (be created and) get the focus when I select a
  menu item on another window.

  I'm using grab_focus, but that only does half of the job. It get focus *if
  I move the mouse over the window of the entry*.

  I'd rather have the mouse stay where it is. How can I do that?
  I'm afraid that depends on the focus model of the window manager but I'm
  not sure.

  TIA
  sandro
  *:-)



More information about the pygtk mailing list