Bizarre window behavior



I've got a button that causes a window to
popup. The "show" signal of that window is
hooked up to a callback that does a g_list_foreach()
and then hides the window. However, when it
goes to hide the dialog box, it hangs (just the
window, not the whole GUI), as in, I can't cause
the delete_event to kick in...it won't close unless
I click the button again (which is only hooked
up to make the window appear, not disappear), but
it also re-runs the g_list_foreach(). I hope I'm
explaining this well, but it is rather odd behavior.
I've tried stopping the "show" signal and blocking
the "show" handler before calling gtk_widget_hide_all()
on the window, but I still get left with a blank box
until I click on the button again.

Any help would be greatly appreciated.

Jeff "Shippy" Shipman     E-Mail: shippy nmt edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy





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