How can you tell if a checkbox is checked?

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

krimson
Just popping in
Just popping in
Posts: 5
Joined: Wed Feb 22, 2006 18:57

How can you tell if a checkbox is checked?

Postby krimson » Thu Mar 02, 2006 23:04

I've loaded in a menu from a layout and now need to find out whether a checkbox is checked, as well as a radio button.

Anyone that could let me know? I've looked around and havent been able to find the answer =/.

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Postby martignasse » Fri Mar 03, 2006 09:12

hi krimson,

I've loaded in a menu from a layout and now need to find out whether a checkbox is checked, as well as a radio button.
Can you be more precise, please.

do you want to disable some entry of you'r menu from checkbox and radiobuttion state ?

do you want to put checkbox or radiobutton in a menu ?

Basicly, you have the Checkbox::isSelected ( void ) and the same for radiobutton to check there state.

hope it help.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 19 guests