[][src]Module lvgl::widgets::slider

Contains Rust bindings for LVGL Slider Widget API lv_slider

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_slider_ext_t
lv_style_list_t

Constants

LV_SLIDER_PART_BG
LV_SLIDER_PART_INDIC

Slider background style.

LV_SLIDER_PART_KNOB

Slider indicator (filled area) style.

LV_SLIDER_TYPE_NORMAL
LV_SLIDER_TYPE_RANGE
LV_SLIDER_TYPE_SYMMETRICAL

Functions

create

Create a slider objects

get_anim_time

Get the animation time of the slider

get_left_value

Get the value of the left knob of a slider

get_max_value

Get the maximum value of a slider

get_min_value

Get the minimum value of a slider

get_type

Get whether the slider is symmetric or not.

get_value

Get the value of the main knob of a slider

is_dragged

Give the slider is being dragged or not

set_anim_time

Set the animation time of the slider

set_left_value

Set a new value for the left knob of a slider

set_range

Set minimum and the maximum values of a bar

set_type

Make the slider symmetric to zero. The indicator will grow from zero instead of the minimum position.

set_value

Set a new value on the slider

Type Definitions

_bindgen_ty_43

TYPEDEFS

_bindgen_ty_44

Built-in styles of slider

lv_align_t
lv_anim_enable_t
lv_anim_value_t

Type of the animated value

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_slider_type_t
lv_state_t