Map a key press to a button click in Gtk Python -


i want key press mapped button click function in gtk-python, i.e. if enter key pressed, data-process function should execute, called pressing process button.

can done?

speculating might gtk.dialog, can set default response.

gtk_dialog_set_default_response ():

sets last widget in dialog's action area given response_id default widget dialog. pressing "enter" activates default widget.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -