Skip to content

(ui): add check/uncheck slot in SSignalButton

Description

These two new slots allows to easily check/uncheck the button without using a boolean parameter. It can be connected to a SSlotCaller or any signal.

Update TutoGui to show an example on these two new slots.

Closes #555 (closed)

How to test it?

  • Launch TutoGui
  • click on "Click" button (bottom left)
    • button "Check" should be checked and the icon should change to stop icon
  • click on "Me" button
    • button "Check" should be unchecked and the icon should change to play icon
Edited by Emilie WERNERT

Merge request reports