Re: Keys accelerator, bindings



On Tue, 22 Aug 2000 nicolas.burrus@epita.fr wrote:

> Thanks for your anwser for the problem of the entry catching key_press_event, 
> it's now resolved, but i have another much more annoying, it's with the gtk 
> mozilla widget, i don't have access to the key press handler, and it's a gdk 
> window object .. Is there a way to prevent it from getting GDK 
> key_press_event ?

  You didn't describe you problem in detail.
  If you'd like to prevent that gdk window from getting key_press_event,
  you can (IMO) just do:

gdk_window_set_events(wnd,gdk_window_get_events(wnd)&
	~(GDK_KEY_PRESS_MASK|GDK_KEY_RELEASE_MASK));

> thanks.
> Nicolas
> 

 Best regards,
  -Vlad






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