Follow-up Comment #2, patch #3091 (project wesnoth):
The test case I used did include the use of these functions with both
toggle_panel and toggle_button elements. As far as I can tell, those are
currently the only widgets to inherit from selectable.
@Mordante: I realize that selectable doesn't use the new-style callbacks yet,
and that you would prefer that widgets be added to set_dialog_callback after
they do so for maintainability reasons, however in this instance the case
handling toggle_button was already in place (and would require updating when
selectable is updated to the new-style callback), and the patch doesn't add
any new cases that would need to be dealt with in this way, only generalizes
the existing toggle_button case.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3091>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs