pub fn set_layout( ctx: &Ctx, index: u16, panel_width: u16, panel_height: u16, ) -> Result<()>
Tell the card its own size and the size of the whole screen.
Fails if the link cannot be opened.