[−][src]Module lvgl::widgets::roller
Contains Rust bindings for LVGL Roller Widget API lv_roller
Structs
__BindgenBitfieldUnit | |
lv_area_t | Represents an area of the screen. |
lv_cont_ext_t | |
lv_ll_t | Description of a linked list |
lv_page_ext_t | |
lv_page_ext_t__bindgen_ty_1 | |
lv_page_ext_t__bindgen_ty_2 | |
lv_realign_t | |
lv_roller_ext_t | |
lv_style_list_t |
Constants
LV_ROLLER_DEF_ANIM_TIME | |
LV_ROLLER_INF_PAGES | |
LV_ROLLER_MODE_INIFINITE | < Infinite mode (roller can be scrolled forever). |
LV_ROLLER_MODE_NORMAL | < Normal mode (roller ends at the end of the options). |
LV_ROLLER_PART_BG | |
LV_ROLLER_PART_SELECTED | |
_LV_ROLLER_PART_VIRTUAL_LAST |
Functions
create | Create a roller object |
get_align | Get the align attribute. Default alignment after _create is LV_LABEL_ALIGN_CENTER |
get_anim_time | Get the open/close animation time. |
get_auto_fit | Get whether the auto fit option is enabled or not. |
get_option_cnt | Get the total number of options |
get_selected | Get the id of the selected option |
get_selected_str | Get the current selected option as a string |
set_align | Set the align of the roller's options (left, right or center[default]) |
set_anim_time | Set the open/close animation time. |
set_auto_fit | Allow automatically setting the width of roller according to it's content. |
set_options | Set the options on a roller |
set_selected | Set the selected option |
set_visible_row_count | Set the height to show the given number of rows (options) |
Type Definitions
_bindgen_ty_42 | Roller mode. |
_bindgen_ty_43 | |
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_fit_t | |
lv_label_align_t | |
lv_layout_t | |
lv_ll_node_t | Dummy type to make handling easier |
lv_obj_t | |
lv_obj_user_data_t | |
lv_res_t | |
lv_roller_mode_t | |
lv_roller_part_t | |
lv_scrollbar_mode_t | |
lv_signal_cb_t | |
lv_signal_t | |
lv_state_t |