Re: simulating a keypress-event
- From: Clemens Kirchgatterer <clemens root at>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: simulating a keypress-event
- Date: Wed, 4 Oct 2000 13:23:41 +0200
ok! things work fine, exept that i can't move the cursor or delete
what i've "typed".
my code looks like this now:
event.type = GDK_KEY_PRESS;
event.string = typed;
event.length = 1;
gtk_widget_event(GTK_WIDGET(entry_typed), (GdkEvent *)&event);
one more hint what to asigne to event.string to make things work?
DONE!
anyone intrested in the code?
regards ...
clemens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]