[][src]Module lvgl::widgets::imgbtn

Contains Rust bindings for LVGL Image Button Widget API lv_imgbtn

Structs

__BindgenBitfieldUnit
lv_area_t

Represents an area of the screen.

lv_btn_ext_t

Extended data of button

lv_cont_ext_t
lv_imgbtn_ext_t

TYPEDEFS

lv_ll_t

Description of a linked list

lv_realign_t
lv_style_list_t

Constants

LV_IMGBTN_PART_MAIN
LV_IMGBTN_TILED

Functions

create

Create a image button objects

get_checkable

Get the toggle enable attribute of the image button

get_src

Get the images in a given state

get_state

Get the current state of the image button

set_checkable

Enable the toggled states. On release the button will change from/to toggled state.

set_src

Set images for a state of the image button

set_state

Set the state of the image button

toggle

Toggle the state of the image button (ON->OFF, OFF->ON)

Type Definitions

_bindgen_ty_38
lv_align_t
lv_bidi_dir_t
lv_btn_state_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_img_cf_t
lv_imgbtn_part_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_signal_cb_t
lv_signal_t
lv_state_t