HTML_MenuItem Class
This class provides the API for HTML menu items. This class inherits the HTML_Object Class and in addition, has its own properties and methods. See Menu Item Support for how to add support for custom menu items.
String HTML_MenuItem.iconUrl
This read/write property holds the URL of the menu item's icon or an empty string if the item doesn't have an icon.
Boolean HTML_MenuItem.isChecked
This read/write property holds whether the menu item is checked.
Boolean HTML_MenuItem.isEnabled
This read/write property holds whether the menu item is enabled.
Boolean HTML_MenuItem.isSeparator
This read/write property holds whether the menu item is just a menu item separator.
HTML_Menu HTML_MenuItem.parentMenu()
This function returns the HTML_Menu Class (i.e., the menu or menubar) that this menu item is contained in.
HTML_Menu HTML_MenuItem.subMenu()
This function returns the HTML_Menu Class attached to this menu item or a null value if there isn't one. (The null value can be tested for using the Boolean isNull(object) function.)
String HTML_MenuItem.text
This read/write property holds the menu item's text.
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.