gtk 2.10 key bindings



I've got an app on a RHEL 5.5 box that needs the SHIFT+F10 key. However, GTK 2.10 (only version available for RHEL 5) captures the SHIFT+F10 key for the context menu pop-up. I've attempted to bind another command to SHIFT+F10 but it isn't working.

cat ~/.gtkrc
binding "gtk-override"
{
    bind "<shift>F10" { "move-cursor" (visual-positions, 3, 0)  }
}

class "GtkWidget" binding "gtk-override"
class "GtkWindow" binding "gtk-override"
class "GtkEntry" binding "gtk-override"
class "GtkTextView" binding "gtk-override"

None of those classes are taking effect. I have logged out/in of the local session but still no go.

How do you override SHIFT+F10 with gtk 2.10? "unbind" wasn't added until gtk 2.12.

Thanks,
Michael



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