MenuItem

MenuItemSetStyle

Set the check mark and submenu indicator of the item

Syntax

Signature
xBool         MenuItemSetStyle( MenuItem *item, const char *style );

Arguments

item the menu item to change.

style two UTF-8 characters to copy, or NULL for the default "√►".

Return value

T on success, or F if the object is NULL or a supplied style contains fewer or more than two characters.

Description

A pop-up menu draws the first character next to a checked item and the second next to an item that opens a submenu.

See also