Parameters
- caption
- The menu item label.
- imagePath
- The path to an image file to use.
- isChecked
- Is the menu button checked. Default is false.
- isEnabled
- Is the menu button enabled. Default is true.
- isBold
- Is the menu button label bold. Default is false.
- method
- The delegate to call when the menu button is clicked.
- args
- The arguments to pass to the delegate.