Events as such :)
- From: "andew ecu" <andrewecu hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: Events as such :)
- Date: Tue, 08 May 2001 18:13:52 -0000
what i'm doing is creating a voice recognition interface on an application
already made using GTK. Now i was wondering.. with a mouse you would go onto
the screen click the right mouse button and a popup menu would come up.
How could i get the popup menu to come up, without having a mouse as an
interface but by using my voice to call a function?
The existing code for the mouse is like this
gtk_menu_popup(GTK_MENU(menu_to_pop), NULL, NULL, NULL, NULL, event->button,
event->time);
is there a way to mimic the mouse being pressed and passing something else
in that is hardcoded then event->button, and event->time?
or are there other ways??
Thanks your help will be appretiated alot:)
andrew
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]