86HMI::NAME_TO_ID()

[Search Functions]

Description

Use Name to query the first ID found.

Syntax

lv_obj_t* NAME_TO_ID(char* name);

Parameters

  • [in] name
    Object name.

Return

Corresponding ID, return NULL if not found.


Please see the 86HMI Editor User Manual for more instructions on 86HMI widgets and API usage.

Scroll to Top