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: Mon May 13 14:29:25 CEST 2024
Total time taken to generate the page: 0.02618 seconds
|