Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
Public Member Functions | Friends
gridui::builder::Select Class Reference

#include <select.h>

Inheritance diagram for gridui::builder::Select:
gridui::builder::Widget gridui::builder::BuilderMixin< Select, gridui::Select >

Public Member Functions

Selectcolor (const std::string &color)
 
Selectbackground (const std::string &background)
 
Selectdisabled (bool disabled)
 
Selectoptions (const std::vector< std::string > &options)
 
Selectoptions (const std::string &options)
 
SelectselectedIndex (int index)
 
SelectonChanged (callback_t cb)
 
- Public Member Functions inherited from gridui::builder::Widget
 Widget (Widget &&o) noexcept
 
const char * widgetTypeName () const
 
- Public Member Functions inherited from gridui::builder::BuilderMixin< Select, gridui::Select >
Selectcss (const std::string &key, const std::string &value)
 
gridui::Select finish ()
 

Friends

class gridui::_GridUi
 

Additional Inherited Members

- Public Types inherited from gridui::builder::BuilderMixin< Select, gridui::Select >
typedef std::function< void(gridui::Select &)> callback_t
 
- Protected Member Functions inherited from gridui::builder::Widget
 Widget (const char *type, WidgetState &state)
 
void serialize (std::ostream &ss)
 
rbjson::Object & extra ()
 
rbjson::Object & style ()
 
- Protected Member Functions inherited from gridui::builder::BuilderMixin< Select, gridui::Select >
void addCallback (const std::string &name, const callback_t &cb)
 
- Protected Attributes inherited from gridui::builder::Widget
WidgetStatem_state
 

Detailed Description

Definition at line 11 of file select.h.

Member Function Documentation

◆ background()

Select & gridui::builder::Select::background ( const std::string &  background)
inline

Definition at line 23 of file select.h.

◆ color()

Select & gridui::builder::Select::color ( const std::string &  color)
inline

Definition at line 18 of file select.h.

◆ disabled()

Select & gridui::builder::Select::disabled ( bool  disabled)
inline

Definition at line 28 of file select.h.

◆ options() [1/2]

Select & gridui::builder::Select::options ( const std::string &  options)
inline

Definition at line 45 of file select.h.

◆ options() [2/2]

Select & gridui::builder::Select::options ( const std::vector< std::string > &  options)
inline

Definition at line 33 of file select.h.

◆ selectedIndex()

Select & gridui::builder::Select::selectedIndex ( int  index)
inline

Definition at line 50 of file select.h.

Friends And Related Symbol Documentation

◆ gridui::_GridUi

friend class gridui::_GridUi
friend

Definition at line 14 of file select.h.


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