Re: catching esc pressed in a dialog with entry and treeview

2009-10-13 Thread Mike Massonnet
Hi, Right thing to do should be to connect the dialog to the signal GtkWidget:key-press-event, possibly filter on GDK_Escape, and return true (see the api for more info on the return value, true will block any further calls). 2009/10/12 Manu TM manutm...@gmail.com: Hi I'm having a problem

catching esc pressed in a dialog with entry and treeview

2009-10-12 Thread Manu TM
Hi I'm having a problem with a gkt dialog. I have packed in this dialog a gtk entry and a gtk treeview, so the user can either enter an url or pick one from a list. Everything works fine, I've also added code to catch double-click on the list. But I can't achieve to catch esc key pressed