I noticed that a PushButton cannot be clicked twice in a row.
The first time it fires the event, but the next time it does not.
You have to click another widget before having the PushButton to react again.
It might be a bug, or at least I thing it is not a good behaviour, because this behaviour does not apply with CheckBox. You can change it : checked - unchecked - checked - etc... without clicking around!
Why a button cannot be clicked twice?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
It's likely that the buttons, on subsequent clicks, are getting mouse double-click and triple-click events which is inhibiting the 'normal' mechanisms of the button type widgets
To inhibit this, try passing false to: Window::wantsMultiClickEvents for the buttons. This can also be made the default by adding a property specifier in the looknfeel.
If this is not it, and you truly do have to actually deselect a button window before it can be clicked again, then this is not normal behaviour and there is likely some other issue with your app.
CE.
To inhibit this, try passing false to: Window::wantsMultiClickEvents for the buttons. This can also be made the default by adding a property specifier in the looknfeel.
If this is not it, and you truly do have to actually deselect a button window before it can be clicked again, then this is not normal behaviour and there is likely some other issue with your app.
CE.
Who is online
Users browsing this forum: Google [Bot] and 16 guests