Re: keyboard accelerators in ItemFactory wonkiness



Alex Chiang <achiang2@rsn.hp.com> writes: 
> does not seem to work. I've looked through the archives, but it
> seems that any queries about the ItemFactory get rather vague
> responses. 
>

That's because very few people know how ItemFactory works, and the API
is not very transparent, so the knowledge has never been
disseminated. It's an excellent example of an API that's gone totally
unused because of no docs. Sad but true.

Anyway, <alt> comes out to mod1. So I would guess that either your Alt
key isn't actually mapped to mod1, or your window manager has a
shortcut that hides the application shortcut.
 
> Additionally, what would the appropriate string for the F1 key
> be? Trying "<F1>" and "<GDK_F1>" and "GDK_F1" doesn't seem to
> work.
> 

I think just "F1" should work. (The key names should be the names in
gdkkeysyms.h, without the GDK_ prefix.)

Disclaimer: I have no real clue how the ItemFactory works. ;-)

Havoc







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