hidden GtkButton retains focus!



I have a weird feature going on.  I have several windows, and each
window can pop up another window which is effectively a dialog.  The
dialog has a couple text entries, a check button, and a regular button
which closes (hides) the dialog.  Now, when I pop up the dialog and
press the close button, the dialog goes away, but somehow the focus
remains on the close button!  When I try to push a button or pull down a
menu on the other windows, the pressed signal for the close button gets
called!  After that, the other windows can be accessed normally.

I've tried using a gtk_widget_grab_focus to try to force the focus away,
but that didn't help.  It isn't a serious bug, just an annoying one.
What's going on?

--
-------------------------------------------------------------------------
Ray Clouse                         |             Don't fear the penguins.
Engineer Scientist/Specialist      |
Boeing Expendable Launch Vehicles  |  Ray.Clouse AT boeing.com
Huntington Beach, CA               |  rclouse AT penguinpowered.com





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