Home2L - C/C++ API  v1.2-2-ga4fe (2023-04-15)
Smart Tools for a Private Home
Public Attributes | List of all members
TButtonDescriptor Struct Reference

Description

Descriptor for a button on the main button bar.

Definition at line 325 of file ui_widgets.H.

#include "ui_widgets.H"

Public Attributes

int layoutWidth
 Width specification (absolute or relative), any value accepted by 'LayoutRow()' (except 0)
 
TColor color
 Button color.
 
const char * iconName
 Icon; if 'NULL', no icon is set; otherwise, 'IconGet(iconName)' is set as icon.
 
const char * text
 Text; if 'NULL', no text is set.
 
FCbButtonPushedcbPushed
 Pushed callback; may be 'NULL' to not set a callback.
 
SDL_Keycode hotkey
 Hotkey; set to 'SDLK_UNKNOWN' to not enable a hotkey.
 

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