Re: How to set keyboard focus to a window?



Le Wed, 31 Dec 2008 10:30:34 +0530,
"Harinandan S" <harinandans gmail com> a écrit :

> gdk_keyboard_grab is also not helping me. There is no change in
> behavior. Does anyone know how to force a keyboard focus to a window
> without moving mouse over it?

Check gtk_window_present().  This is probably what you need to call
before setting the focus inside your window.

Cheers
Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]