[][src]Module lvgl::widgets::page

Contains Rust bindings for LVGL Page Widget API lv_page

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_style_list_t

Constants

LV_PAGE_DEF_ANIM_TIME
LV_PAGE_EDGE_BOTTOM
LV_PAGE_EDGE_LEFT
LV_PAGE_EDGE_RIGHT
LV_PAGE_EDGE_TOP
LV_PAGE_PART_BG
LV_PAGE_PART_EDGE_FLASH
LV_PAGE_PART_SCROLLABLE
LV_PAGE_PART_SCROLLBAR
_LV_PAGE_PART_REAL_LAST
_LV_PAGE_PART_VIRTUAL_LAST

Functions

clean

Delete all children of the scrl object, without deleting scrl child.

create

Create a page objects

focus

Focus on an object. It ensures that the object will be visible on the page.

get_anim_time

Get the animation time

get_edge_flash

Get the edge flash effect property.

get_height_fit

Get that height which can be set to the children to still not cause overflow (show scrollbars)

get_height_grid

Divide the height of the object and get the width of a given number of columns. Take into account the paddings of the background and scrollable too.

get_scrl_fit_bottom

Get the bottom fit mode

get_scrl_fit_left

Get the left fit mode

get_scrl_fit_right

Get the right fit mode

get_scrl_fit_top

Get the top fit mode

get_scrl_height

Get height of the scrollable part of a page

get_scrl_layout

Get the layout of the scrollable part of a page

get_scrl_width

Get width of the scrollable part of a page

get_scroll_propagation

Get the scroll propagation property

get_scrollable

Get the scrollable object of a page

get_scrollbar_mode

Set the scroll bar mode on a page

get_width_fit

Get that width which can be set to the children to still not cause overflow (show scrollbars)

get_width_grid

Divide the width of the object and get the width of a given number of columns. Take into account the paddings of the background and scrollable too.

glue_obj

Glue the object to the page. After it the page can be moved (dragged) with this object too.

on_edge

Find whether the page has been scrolled to a certain edge.

scroll_hor

Scroll the page horizontally

scroll_ver

Scroll the page vertically

set_anim_time

Set the animation time for the page

set_edge_flash

Enable the edge flash effect. (Show an arc when the an edge is reached)

set_scrl_height

Set height of the scrollable part of a page

set_scrl_layout

Set the layout of the scrollable part of the page

set_scrl_width

Set width of the scrollable part of a page

set_scroll_propagation

Enable the scroll propagation feature. If enabled then the page will move its parent if there is no more space to scroll. The page needs to have a page-like parent (e.g. lv_page, lv_tabview tab, lv_win content area etc) If enabled drag direction will be changed LV_DRAG_DIR_ONE automatically to allow scrolling only in one direction at one time.

set_scrollable_fit

Set the fit policy in all 4 direction at once. It tell how to change the page size automatically.

set_scrollable_fit2

Set the fit policy horizontally and vertically separately. It tell how to change the page size automatically.

set_scrollable_fit4

Set the fit policy in all 4 directions separately. It tell how to change the page size automatically.

set_scrollbar_mode

Set the scroll bar mode on a page

start_edge_flash

Not intended to use directly by the user but by other object types internally. Start an edge flash animation. @param page

Type Definitions

_bindgen_ty_37

Edges: describes the four edges of the page

_bindgen_ty_38
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_layout_t
lv_ll_node_t

Dummy type to make handling easier

lv_obj_t
lv_obj_user_data_t
lv_page_edge_t
lv_res_t
lv_scrollbar_mode_t
lv_signal_cb_t
lv_signal_t
lv_state_t