Re: emit keypress event into event loop

2007-09-24 Thread vano
David Nečas (Yeti) wrote: On Fri, Sep 21, 2007 at 03:32:49PM -0100, vano wrote: Anybody has idea how to emit in GTK (2.11.6) some keypress event into main event loop? Why on Earth you are connecting to button-press-event instead of clicked of the button? (And with a handler that has

emit keypress event into event loop

2007-09-21 Thread vano
Hello, Anybody has idea how to emit in GTK (2.11.6) some keypress event into main event loop? I have mouse clickable button and want to send to my text_view a keyboard press. I'm doing this way: in main code: g_signal_connect(G_OBJECT(my_button), button-press-event,