Re: GDK_Delete as accelerator?



Donovan Artz wrote:
> 
> Can some one point me to some docs on how I can use GDK_Delete (and
> GDK_BackSpace, GDK_Tab, etc)  as an accelerator inside my app?  It seems
> that only letters (ie. GDK_A) work with the gtk_accel_group_add()
> function?

  You can't, take a look at gtk_accelerator_valid() in the source code
for a list of valid keys. You'll have to connect to the key_press_event
of the main window.

Leonardo





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