Reputation: 35
I want to add one more option in the default menu comes on right click in textview in Gtk+ Python.
On hovering of that option I want to add one more submenu/popup to that option.
How it is possible in Gtk+ Python2.7
Upvotes: 2
Views: 502
Reputation: 57920
Connect to the populate-popup
signal, and add your menu item to the Gtk.Menu
that is passed to your signal handler.
Upvotes: 1