Re: Key focus and widgets without GdkWindow



On Wed, Nov 20, 2002 at 03:59:42PM +0100, Dag Helstad wrote:
> 
> I've understood that only widgets with a GdkWindow of their own can grab
> focus. What is the reason for this? Or have I completely misunderstood
> something here?

What do you mean by 'grab focus'? 

If you mean gtk_widget_grab_focus()/GTK_CAN_FOCUS/etc. then no a
GdkWindow should not be required.

You would need a GdkWindow to do gdk_keyboard_grab() but I doubt you
want to do that.

Havoc



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