Home » Community » Newbie corner » Menus and Toolbars
Re: Menus and Toolbars [message #24963 is a reply to message #24961] |
Sat, 06 February 2010 09:37   |
|
Hi,
There is a Item& Check(bool check) method for this. The usage is menu.Add("Be verbose", THISBACK(ToggleVerboseBuild))
.Check(console.verbosebuild)
where the THISBACK must do "all the work": void Ide::ToggleVerboseBuild() {
console.verbosebuild = !console.verbosebuild;
}
This example was taken from ide package.
Regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Aug 24 18:56:50 CEST 2025
Total time taken to generate the page: 0.05106 seconds
|