Re: Key focus and widgets without GdkWindow
- From: Havoc Pennington <hp redhat com>
- To: Dag Helstad <dag helstad kreatel se>
- Cc: gtk-list gnome org
- Subject: Re: Key focus and widgets without GdkWindow
- Date: Thu, 21 Nov 2002 10:17:58 -0500
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.
] [Thread Prev