How does the dialog's default button respond "enter" key



Hi all:
        I have a question, in Gtk+ dialog,there is a GtkListStore
Widget, when user select the list's entry and then press the enter key,
I want programe make the dialog's default "OK" button responds the
"entre" key signal and destory the dialog immediately. But the list
widget intercept the signal, default button does not! how can i?    

thanks!





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