Parameters
- caption
- The menu item label.
- imagePath
- The path to an image file to use.
- tooltipTitle
- The tooltip heading.
- tooltipText
- The tooltip body.
- tooltipImage
- The image to show with the tooltip.
- 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.