Re: how can I emit a key-press-event?
- From: Tristan Van Berkom <vantr touchtunes com>
- To: Victor Chen <chen shengqi connet com tw>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how can I emit a key-press-event?
- Date: Tue, 29 Jun 2004 10:55:50 -0400
Victor Chen wrote:
How can I emit a key_press_event to top level window in gtk+?
in windows we can use PostMessage.
g_signal_emit_by_name crashed in second exec. is there an example?
I think you can achieve this with:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Events.html#gdk-event-put
You can also try sending dummy events through the X server.
An example I guess would be the gdk-X11 code which normaly feeds Gtk+
with gdk events ;-)
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]