3-state checkbox

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Just popping in
Just popping in
Posts: 16
Joined: Thu Jul 14, 2016 11:56

3-state checkbox

Postby andrewc » Tue Feb 23, 2021 11:29

Dear all,

I would like to create a 3-state checkbox widget in CEGUI, i.e. one which is checked, unchecked, or indeterminate to indicate use of a default defined elsewhere. The indeterminate state would probably look like the filled square in a 3-way checkbox in Windows.

I've searched through all the documentation I could find on creating custom widgets, but it's all pretty brief and I still have no real idea where to start. Can anybody please give me a quick run down of what I would need to do to achieve a working solution?

By the way, I need a lot of these on the screen in a limited space, so using labelled radio boxes is not a good alternative.

Many thanks,

Return to “Help”

Who is online

Users browsing this forum: No registered users and 30 guests