[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Accelerator keys and popup menus?
From:       Gabriel Schulhof <nix () go-nix ! ca>
Date:       2007-08-19 22:16:45
Message-ID: 1187561805.25326.10.camel () idefix ! go-nix ! ca
[Download RAW message or body]

Hi!

On Sun, 2007-08-19 at 23:48 +0300, Stefan Kost wrote:
> I read about the differences. I really want "accelerators".
I was able to hack it:

Create a plain old regular menubar-type menu with accelerators. Then ref
the submenu you want to make into a popup menu and detach it from its
parent menu item[0].

[0]http://library.gnome.org/devel/gtk/unstable/GtkMenuItem.html#id3734460

HTH,



Gabriel

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic