[Glade-users] Accelerator keys

On Mon, Jun 8, 2009 at 11:42 AM, Jonathan Lane<lanej at horizon.com> wrote:
On Jun 8, 2009, at 11:34 AM, Tristan Van Berkom wrote:
Heres how it works:
?- Create ImageMenuItem
?- Set accel_group
?- Bug: Glade only exposes accel-group for stock type imagemenuitems
?- When setting the accel_group the first time, just hit the "New"
? ?in the dialog
?- After setting up some, or all of your accel-group properties on
the menu items,
? ?proceed to set the accel-group property of the toplevel window to
the same accel-group.

I see what the problem is with that, but 3 of my GtkImageMenuItems of
*stock type* have non-functional accelerator keys. ?Specifically, I

gtk-zoom-in ? ? CTRL++
gtk-zoom-out ? ?CTRL+-
gtk-zoom-100 ? ?CTRL+0

?From what you've described, these should work, yes?

Do these menuitems have the accel-group set and
does the toplevel window also have the same accel-group set ?

if so then it *should work*, theres a test case in GTK+ that
tries to ensure this works, if it doesnt please send me
a broken Glade file sample and I'll start from there.

I need to make sure theres a GtkBuilder/GtkMenuItem bug open
on this also...


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