Esp32-RBGridUI
Library for creating UIs for the RBController app
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Friends
gridui::builder::BuilderMixin< Self, Constructed > Class Template Reference

#include <widget.h>

Public Types

typedef std::function< void(Constructed &)> callback_t
 

Public Member Functions

Self & css (const std::string &key, const std::string &value)
 
Constructed finish ()
 

Protected Member Functions

void addCallback (const std::string &name, callback_t cb)
 

Friends

class gridui::_GridUi
 

Detailed Description

template<typename Self, typename Constructed>
class gridui::builder::BuilderMixin< Self, Constructed >

Definition at line 31 of file widget.h.

Member Typedef Documentation

◆ callback_t

template<typename Self , typename Constructed >
typedef std::function<void(Constructed&)> gridui::builder::BuilderMixin< Self, Constructed >::callback_t

Definition at line 39 of file widget.h.

Member Function Documentation

◆ addCallback()

template<typename Self , typename Constructed >
void gridui::builder::BuilderMixin< Self, Constructed >::addCallback ( const std::string &  name,
callback_t  cb 
)
inlineprotected

Definition at line 52 of file widget.h.

◆ css()

template<typename Self , typename Constructed >
Self & gridui::builder::BuilderMixin< Self, Constructed >::css ( const std::string &  key,
const std::string &  value 
)
inline

Definition at line 41 of file widget.h.

◆ finish()

template<typename Self , typename Constructed >
Constructed gridui::builder::BuilderMixin< Self, Constructed >::finish ( )
inline

Definition at line 47 of file widget.h.

Friends And Related Symbol Documentation

◆ gridui::_GridUi

template<typename Self , typename Constructed >
friend class gridui::_GridUi
friend

Definition at line 36 of file widget.h.


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