Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
nbgl_layoutSuggestionButtons_t Struct Reference

This structure contains info to build suggestion buttons. More...

#include <nbgl_layout.h>

Public Attributes

const char ** buttons
 array of 4 strings for buttons (last ones can be NULL)
 
int firstButtonToken
 
uint8_t nbUsedButtons
 the number of actually used (displayed) buttons
 
uint16_t nbCandidates
 

Detailed Description

This structure contains info to build suggestion buttons.

Definition at line 354 of file nbgl_layout.h.

Member Data Documentation

◆ buttons

const char** nbgl_layoutSuggestionButtons_t::buttons

array of 4 strings for buttons (last ones can be NULL)

Definition at line 355 of file nbgl_layout.h.

◆ firstButtonToken

int nbgl_layoutSuggestionButtons_t::firstButtonToken

first token used for buttons, provided in onActionCallback (the next 3 values will be used for other buttons)

Definition at line 356 of file nbgl_layout.h.

◆ nbCandidates

uint16_t nbgl_layoutSuggestionButtons_t::nbCandidates

total number of matching candidates, which may be greater than nbUsedButtons when the displayed buttons are capped. On Nano it is used to decide when the whole candidate list fits in the selection page. If left to 0, nbUsedButtons is used instead (legacy behaviour).

Definition at line 359 of file nbgl_layout.h.

◆ nbUsedButtons

uint8_t nbgl_layoutSuggestionButtons_t::nbUsedButtons

the number of actually used (displayed) buttons

Definition at line 358 of file nbgl_layout.h.


The documentation for this struct was generated from the following file: