Queries the named @attribute on @menu_item.
If @expected_type is specified and the attribute does not have this type, %NULL is returned. %NULL is also returned if the attribute simply does not exist.
the attribute name to query
the expected type of the attribute
Return: the attribute value, or %NULL
2.34
See Implementation
Queries the named @attribute on @menu_item.
If @expected_type is specified and the attribute does not have this type, %NULL is returned. %NULL is also returned if the attribute simply does not exist.