MenuItem
#GMenuItem is an opaque structure type. You must access it using the functions below.
Since
2.32
Constructors
Functions
Link copied to clipboard
open fun getAttributeValue(attribute: String, expectedType: <Error class: unknown class>? = null): <Error class: unknown class>?
Queries the named @attribute on @menu_item.
Link copied to clipboard
open fun setActionAndTargetValue(action: String? = null, targetValue: <Error class: unknown class>? = null)
Sets or unsets the "action" and "target" attributes of @menu_item.
Link copied to clipboard
Sets or unsets an attribute on @menu_item.
Link copied to clipboard
Sets the "action" and possibly the "target" attribute of @menu_item.
Link copied to clipboard
Sets or unsets the "section" link of @menu_item to @section.
Link copied to clipboard
Sets or unsets the "submenu" link of @menu_item to @submenu.