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

Re: simulating a keypress-event



> 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]