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

This structure contains info to build a single button. More...

#include <nbgl_layout.h>

Public Attributes

const char * text
 button text More...
 
const nbgl_icon_details_ticon
 a buffer containing the 1BPP icon for button More...
 
uint8_t token
 the token that will be used as argument of the callback More...
 
nbgl_layoutButtonStyle_t style
 
bool fittingContent
 if set to true, fit the width of button to text, otherwise full width More...
 
bool onBottom
 

Detailed Description

This structure contains info to build a single button.

Definition at line 335 of file nbgl_layout.h.

Member Data Documentation

◆ fittingContent

bool nbgl_layoutButton_t::fittingContent

if set to true, fit the width of button to text, otherwise full width

Definition at line 340 of file nbgl_layout.h.

◆ icon

const nbgl_icon_details_t* nbgl_layoutButton_t::icon

a buffer containing the 1BPP icon for button

Definition at line 337 of file nbgl_layout.h.

◆ onBottom

bool nbgl_layoutButton_t::onBottom

if set to true, align on bottom of page, otherwise put on bottom of previous object

Definition at line 341 of file nbgl_layout.h.

◆ style

nbgl_layoutButtonStyle_t nbgl_layoutButton_t::style

Definition at line 339 of file nbgl_layout.h.

◆ text

const char* nbgl_layoutButton_t::text

button text

Definition at line 336 of file nbgl_layout.h.

◆ token

uint8_t nbgl_layoutButton_t::token

the token that will be used as argument of the callback

Definition at line 338 of file nbgl_layout.h.


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