How to simulate a keyboard input by emitting an event



Hi

i want so simulate a keyboard input normaly done by typing to an entry widget.
I dont want to use the   gtk_entry_append_text function call to insert
text.
The application should work like keyboard input
how can I setup a  gtk_signal_emit_by_name for keypress or keyrelease
and how to tell the call the  character I want to send.
Have I to seup an event struct before filling with the character I want.
It would be nice to send a code example

Please help
günther

--
R=I+S  Rapp Informatik Systeme GmbH
       Rosenbühlstr. 24
       D-89182 Bernstadt
       Tel:  +49 (0)7348-7755
       Fax:  +49 (0)7348-6086
E-MAIL  mailto: guenther rapp-informatik de
WEB             www.rapp-informatik.de

PS:
Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format
Bitte lesen Sie  http://www.fsf.org/philosophy/no-word-attachmentsi.de.html
Please don't send me any attachment in Microsoft (.DOC, .PPT) format please
Read http://www.fsf.org/philosophy/no-word-attachments.html

Attachment: guenther.vcf
Description: Vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]