Skip to main content

set_layout

Function set_layout 

Source
pub fn set_layout(
    ctx: &Ctx,
    index: u16,
    panel_width: u16,
    panel_height: u16,
) -> Result<()>
Expand description

Tell the card its own size and the size of the whole screen.

ยงErrors

Fails if the link cannot be opened.