Home
last modified time | relevance | path

Searched refs:win (Results 1 – 10 of 10) sorted by relevance

/lvgl-latest/examples/widgets/win/
Dlv_example_win_1.py8 win = lv.win(lv.scr_act(), 60) variable
9 btn1 = win.add_btn(lv.SYMBOL.LEFT, 40)
11 win.add_title("A title")
12 btn2=win.add_btn(lv.SYMBOL.RIGHT, 40)
14 btn3 = win.add_btn(lv.SYMBOL.CLOSE, 60)
17 cont = win.get_content() # Content can be added here
Dlv_example_win_1.c12 lv_obj_t * win = lv_win_create(lv_scr_act(), 40); in lv_example_win_1() local
14 btn = lv_win_add_btn(win, LV_SYMBOL_LEFT, 40); in lv_example_win_1()
17 lv_win_add_title(win, "A title"); in lv_example_win_1()
19 btn = lv_win_add_btn(win, LV_SYMBOL_RIGHT, 40); in lv_example_win_1()
22 btn = lv_win_add_btn(win, LV_SYMBOL_CLOSE, 60); in lv_example_win_1()
25 lv_obj_t * cont = lv_win_get_content(win); /*Content can be added here*/ in lv_example_win_1()
Dindex.rst5 .. lv_example:: widgets/win/lv_example_win_1
/lvgl-latest/src/extra/widgets/win/
Dlv_win.c54 lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt) in lv_win_add_title() argument
56 lv_obj_t * header = lv_win_get_header(win); in lv_win_add_title()
64 lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w) in lv_win_add_btn() argument
66 lv_obj_t * header = lv_win_get_header(win); in lv_win_add_btn()
77 lv_obj_t * lv_win_get_header(lv_obj_t * win) in lv_win_get_header() argument
79 return lv_obj_get_child(win, 0); in lv_win_get_header()
82 lv_obj_t * lv_win_get_content(lv_obj_t * win) in lv_win_get_content() argument
84 return lv_obj_get_child(win, 1); in lv_win_get_content()
Dlv_win.h37 lv_obj_t * lv_win_add_title(lv_obj_t * win, const char * txt);
38 lv_obj_t * lv_win_add_btn(lv_obj_t * win, const void * icon, lv_coord_t btn_w);
40 lv_obj_t * lv_win_get_header(lv_obj_t * win);
41 lv_obj_t * lv_win_get_content(lv_obj_t * win);
/lvgl-latest/docs/widgets/extra/
Dwin.md24 Any number of texts (but typically only one) can be added to the header with `lv_win_add_title(win,…
26 Control buttons can be added to the window's header with `lv_win_add_btn(win, icon, btn_width)`. `i…
32 `lv_win_get_header(win)` returns a pointer to the header, `lv_win_get_content(win)` returns a point…
49 .. include:: ../../../examples/widgets/win/index.rst
Dindex.md24 win
/lvgl-latest/
Dcomponent.mk31 src/extra/widgets/win
/lvgl-latest/docs/
DCONTRIBUTING.md184 Showing your project to others is a win-win situation because it increases your and LVGL's reputati…
DCHANGELOG.md1257 - fix(win) enable clip_corner and border_post by default [`493ace3`](https://github.com/lvgl/lvgl/…
1469 - Update win.md [`2352`](https://github.com/lvgl/lvgl/pull/2352)
1744 - fix(win) arabic process the title of the window