lv_obj_get_width

Function lv_obj_get_width 

Source
pub unsafe extern "C" fn lv_obj_get_width(obj: *const lv_obj_t) -> i32
Expand description

Get the width of an object @param obj pointer to an object @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @return the width in pixels