gtk_window_set_default does not work (for me)



Hi all,
  I have a window where I want to make the OK button to repond to
enter keys. I used
gtk_window_set_default(window, okbtn); I also set GTK_CAN_DEFAULT flag
before using that. But pressing the entre key does not work.

Any help...?

I am using GTK 2.4.x on windows. Xp


Thanks
Deekshit M



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