> > But some wher in the gtk list a comment said its not a good idea to
> > generate events like keypress from the program. 
> 
> I think emitting a signal should work okay, but I'm not sure.

    May be but will have to create GdkEvent object first.
    I didnt find a way to do the same.
 
> > Is there any alternate ? I want to have focus change on Enter keypress.
> 
> Well, you can add a handler to the "activate" signal if the widget offers
> it. What widget is this?

    The widget was GnomeEntry
    Problem is i dont know what the next widget is, if that is known
I could have requested a grabfocus.

Arun.
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to