lv_wayland_window.h

API reference for lv_wayland_window.h

Report on GitHub

Functions

lv_wayland_window_set_physical_display

Assigns the window to a specific physical display

 
void lv_wayland_window_set_physical_display(lv_display_t *display, uint8_t phys_display)
Parameters
NameTypeDescription
displaylv_display_t *Reference to the LVGL display associated to the window
phys_displayuint8_tPhysical display number or LV_WAYLAND_PHYSICAL_DISPLAY_ANY to unassign a previously set physical display

lv_wayland_window_set_fullscreen

Sets the fullscreen state of the window

 
void lv_wayland_window_set_fullscreen(lv_display_t *display, bool fullscreen)
Parameters
NameTypeDescription
displaylv_display_t *Reference to the LVGL display associated to the window
fullscreenboolIf true the window enters fullscreen

The fullscreen request is made asynchronously and may not be fulfilled if the compositor doesn't allow it. lv_wayland_window_is_fullscreen() can be used to determine the fullscreen state of the window.

lv_wayland_window_set_maximized

Requests the window be maximized/unmaximized

 
void lv_wayland_window_set_maximized(lv_display_t *display, bool maximize)
Parameters
NameTypeDescription
displaylv_display_t *Reference to the LVGL display associated to the window
maximizebooltrue: maximize the window false: unmaximize the window

The maximized request is made asynchronously and may not be fulfilled if the compositor doesn't allow it. lv_wayland_window_is_maximized() can be used to determine the maximized state of the window.

lv_wayland_window_set_minimized

Minimizes the window

 
void lv_wayland_window_set_minimized(lv_display_t *display)
Parameters
NameTypeDescription
displaylv_display_t *Reference to the LVGL display associated to the window

Typedefs

lv_wayland_display_close_cb_t

 
typedef bool(* lv_wayland_display_close_cb_t) (lv_display_t *display)
Used by 1 function
  • lv_wayland_window_create — param close_cb

Macros

LV_WAYLAND_PHYSICAL_DISPLAY_ANY

 
#define LV_WAYLAND_PHYSICAL_DISPLAY_ANY 0xFF

Dependencies

Last updated on

On this page