Gtk.StatusIcon double-click

I am using python GTK under Gnome (Gnome 3 in Fedora 15). I would like to catch events when the user double-clicks the icon in the tray area.

I found that the “activate” signals trigger when the user makes one click, but cannot find the signal or the correct way to call the method when the user double-clicks on it.

How can i do this?

Thank you for your help!

+3
source share
1 answer

You can not. Gtk + itself does not even know if it was a single or double click. From the Gtk + documentation about the :: activate signal:

Returns when the user activates the status icon. If and how status icons can be activated depends on the platform.

, Qt ( Trigger DoubleClick). , :: button-press-event , , .

, : , .

+3

All Articles