Host_bindings::LVGL

Function lv_obj_set_style_pad_all

Source
pub unsafe fn lv_obj_set_style_pad_all(
    Object: *mut lv_obj_t,
    Padding: i32,
    Selector: u32,
)
Expand description

Set the padding of an object on all sides

§Arguments

  • Object - The object to set the padding of.
  • Padding - The padding to set.
  • Selector - The selector to set the padding for.

§Safety

This function is unsafe because it may dereference raw pointers (e.g. Object).