Unbind mouse right button use from gtkrc



Hi All,

I am trying to block context menus which appear on my gtk app when:
- SHIFT+F10 is pressed
- Menu keyboard key is pressed.
- the mouse right button is clicked

I have found solution for the first two cases in a general way (using gtkrc), which means that I do not need treat events in each screen/widget/entry. 

However for the last one, nothing seems to work. For instance, anyone know how can refer to this button on gtkrc?

Thanks in advance!!

###################################################
# my gtkrc
binding "NoKeyboardNavigation" {
        unbind "Tab"
unbind "space"
unbind "Return"
        unbind "<shift>F10"
        unbind "Menu"

}

class "GtkWidget" binding "NoKeyboardNavigation"
class "GtkWindow" binding "NoKeyboardNavigation"
class "GtkEntry" binding "NoKeyboardNavigation"
class "GtkTextView" binding "NoKeyboardNavigation"


--
Sandro Caldeira Javiel
+55 51 9966-2544


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