Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_contentRadioChoice_t Struct Reference

This structure contains a list of names to build a list of radio buttons (on the right part of screen), with for each a description (names array) The chosen item index is provided is the "index" argument of the callback. More...

#include <nbgl_content.h>

Public Attributes

union {
   const char *const *   names
 array of strings giving the choices (nbChoices) More...
 
}; 
 
bool localized
 if set to true, use nameIds and not names More...
 
uint8_t nbChoices
 number of choices More...
 
uint8_t initChoice
 index of the current choice More...
 
uint8_t token
 the token that will be used as argument of the callback More...
 

Detailed Description

This structure contains a list of names to build a list of radio buttons (on the right part of screen), with for each a description (names array) The chosen item index is provided is the "index" argument of the callback.

Definition at line 275 of file nbgl_content.h.

Member Data Documentation

◆ 

union { ... }

◆ initChoice

uint8_t nbgl_contentRadioChoice_t::initChoice

index of the current choice

Definition at line 284 of file nbgl_content.h.

◆ localized

bool nbgl_contentRadioChoice_t::localized

if set to true, use nameIds and not names

Definition at line 282 of file nbgl_content.h.

◆ names

const char* const* nbgl_contentRadioChoice_t::names

array of strings giving the choices (nbChoices)

Definition at line 277 of file nbgl_content.h.

◆ nbChoices

uint8_t nbgl_contentRadioChoice_t::nbChoices

number of choices

Definition at line 283 of file nbgl_content.h.

◆ token

uint8_t nbgl_contentRadioChoice_t::token

the token that will be used as argument of the callback

Definition at line 285 of file nbgl_content.h.


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