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

Entry widget and default OK button



I know this question must have been asked before, but looking through
the list archives and docs I couldn't find an answer.

I have a dialog with an entry widget and a default OK button. I'd like
the user to be able to just press Enter after entering something into
the entry widget to exit the dialog. However, that does not seem to
work.

How do I make the entry widget "default-capable"? Do I have to intercept 
the keypress events and look for Enter being pressed?

BTW: I'm using guile-gtk.

thanks,
--Jan



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