How to send Key_press_event by event?



Hi all,

I want to send Key_press_event to the list box by program not by keyboard.

i have seen that it can be done by gtk_signal_emit_by_name but with that function, i knwo that i have to pass the other members also. like pointer to GdkEventKey object. i have seen that there are many members of this structure. how do i initialize these members? and emit signal?

is there any other way of doing this?

thanx in advance.

Brijesh




eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with that express intent and with due authority of eInfochips. eInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.



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