[webkit-gtk] Regs "activate" signal for GtkAction

Antaryami Pandia xqb748 at motorola.com
Fri Dec 23 04:09:19 PST 2011


Hi,
Currently while creating a menu Item, the signal "activate" is registered
with the signal.

File :- PopupMenuGtk.cpp
    g_signal_connect(action, "activate", G_CALLBACK(menuItemActivated),
this);

This signal is emitted for both selection using key (pressing enter key )
and mouse.
Is there a way to find out whether the selection is done using key or mouse
in the registered callback function i.e "menuItemActivated" for this case?


Regards,
-Antaryami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20111223/8cb5692f/attachment.html>


More information about the webkit-gtk mailing list