RE: Events as such :)
- From: Michael Mitton <Michael Mitton millersville edu>
- To: 'andew ecu' <andrewecu hotmail com>, gtk-app-devel-list gnome org
- Subject: RE: Events as such :)
- Date: Tue, 8 May 2001 14:13:06 -0400
I think one of the main goals of the ATK project is to provide ways to do
stuff like this. Can anyone expand on this?
-Michael
-----Original Message-----
From: andew ecu [mailto:andrewecu hotmail com]
Sent: Tuesday, May 08, 2001 2:14 PM
To: gtk-app-devel-list gnome org
Subject: Events as such :)
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.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]