[][src]Module lvgl::widgets::bar

Contains Rust bindings for LVGL Bar Widget API lv_bar

Structs

__BindgenBitfieldUnit
lv_area_t

Represents an area of the screen.

lv_bar_anim_t
lv_bar_ext_t

Data of bar

lv_ll_t

Description of a linked list

lv_realign_t
lv_style_list_t

Constants

LV_BAR_ANIM_STATE_END
LV_BAR_ANIM_STATE_INV
LV_BAR_ANIM_STATE_NORM
LV_BAR_ANIM_STATE_START
LV_BAR_PART_BG
LV_BAR_PART_INDIC

Bar background style.

LV_BAR_TYPE_CUSTOM
LV_BAR_TYPE_NORMAL
LV_BAR_TYPE_SYMMETRICAL
_LV_BAR_PART_VIRTUAL_LAST

Bar fill area style.

Functions

create

Create a bar objects

get_anim_time

Get the animation time of the bar

get_max_value

Get the maximum value of a bar

get_min_value

Get the minimum value of a bar

get_start_value

Get the start value of a bar

get_type

Get the type of bar.

get_value

Get the value of a bar

set_anim_time

Set the animation time of the bar

set_range

Set minimum and the maximum values of a bar

set_start_value

Set a new start value on the bar

set_type

Set the type of bar.

set_value

Set a new value on the bar

Type Definitions

_bindgen_ty_41

TYPEDEFS

_bindgen_ty_42

Bar parts

lv_align_t
lv_anim_enable_t
lv_anim_value_t

Type of the animated value

lv_bar_part_t
lv_bar_type_t
lv_bidi_dir_t
lv_coord_t
lv_design_cb_t

The design callback is used to draw the object on the screen. It accepts the object, a mask area, and the mode in which to draw the object.

lv_design_mode_t
lv_design_res_t
lv_drag_dir_t
lv_event_cb_t

@brief Event callback. Events are used to notify the user of some action being taken on the object. For details, see ::lv_event_t.

lv_event_t
lv_ll_node_t

Dummy type to make handling easier

lv_obj_t
lv_obj_user_data_t
lv_res_t
lv_signal_cb_t
lv_signal_t
lv_state_t