uiMenuItemSetChecked

Function uiMenuItemSetChecked 

Source
pub unsafe extern "C" fn uiMenuItemSetChecked(
    m: *mut uiMenuItem,
    checked: c_int,
)
Expand description

Sets whether or not the menu item’s checkbox is checked.

To be used only with items created via uiMenuAppendCheckItem().

@param m uiMenuItem instance. @param checked TRUE to check menu item checkbox, FALSE otherwise. @memberof uiMenuItem