Clicking Button Twice in Succession Not Responsive



Hello all,

has anyone else come across this bug w/ gtk/gtkmm? When I click a button in my window twice or more in succession, the 1st time it works, the button performs the action I've attached to it. But if I click it twice or more in succession w/o clicking anywhere else on my interface, focus comes back to my button but it will not perform the action.

I must click off the button- click somewhere else on my GUI - then I may click back on my button & it will work again.

Has anyone else noticed this and is there a simple fix?

I've tried the following w/ no success:
1. In code, set focus to some other GUI element & then click on the button a second time 2. In code, set focus to some other GUI element, ran the "clicked" method of a hidden button 3. In code, updated the GUI interface several times after the button was clicked once 4. In code, ran the "clicked" method of a hidden button, set focus on another GUI element, & updated the GUI several times after 1 button click

Each of the above experiments were separate &, obviously, built on top of the one that came before to no avail.

Any suggestions?  Thanks everyone!

--
Sincerely, Allen

Gene Allen Saucier, Jr
Senior Software Engineer
CAS, Inc
100 Quality Circle
Huntsville, AL  35806
or
PO Box 11190
Huntsville, AL  35814
(256) 922-6453 (w)
"...As for I and my house, we shall follow the Lord"  Joshua 24:15




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