The OpenD Programming Language

cef_menu_model_t.get_index_of

Returns the index associated with the specified |command_id| or -1 if not found due to the command id not existing in the menu.

struct cef_menu_model_t
extern (System)
int function(cef_menu_model_t* self, int command_id) nothrow get_index_of;

Meta