lv_win.h

API reference for lv_win.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_win_private.h

Functions

lv_win_get_header

Get the header of the window

> Deprecated: The lv_win widget is deprecated. See lv_example_flex_win.

 
lv_obj_t * lv_win_get_header(lv_obj_t *win)
Parameters
NameTypeDescription
winlv_obj_t *pointer to a window widget

Returns: lv_obj_t * — the header of the window

lv_win_get_content

Get the content of the window

> Deprecated: The lv_win widget is deprecated. See lv_example_flex_win.

 
lv_obj_t * lv_win_get_content(lv_obj_t *win)
Parameters
NameTypeDescription
winlv_obj_t *pointer to a window widget

Returns: lv_obj_t * — the content of the window

Macros

LV_WIN_DEPRECATED_MSG

 
#define LV_WIN_DEPRECATED_MSG "lv_win is deprecated; build a window from a flex column instead. See the lv_example_flex_win example."

> Deprecated: The lv_win widget is deprecated and kept only for backward compatibility. A window is just a flex column with a header bar and a content area, so build one directly from lv_obj instead. See the lv_example_flex_win example for a starting point.

Variables

lv_win_class

 
const lv_obj_class_t lv_win_class

Dependencies

Last updated on

On this page