API
For Arduino developers
NexPage.h
Go to the documentation of this file.
1 
16 #ifndef __NEXPAGE_H__
17 #define __NEXPAGE_H__
18 #ifdef __cplusplus
19 #include "NexTouch.h"
20 
25 class NexPage: public NexTouch
26 {
27 public: /* methods */
28  NexPage(NexPid pid, NexCid cid, char *name, NexTouchEventCb pop = NULL, void *pop_ptr = NULL);
29  bool show(void);
30 
31  void attachPop(NexTouchEventCb pop, void *ptr = NULL);
32  void detachPop(void);
33 
34 };
35 
36 #endif /* #ifdef __cplusplus */
37 #endif /* #ifndef __NEXPAGE_H__ */
void detachPop(void)
Unload page pop callback function.
Definition: NexPage.cpp:64
bool show(void)
Change page.
Definition: NexPage.cpp:33
NexPage,subclass of NexTouch,provides simple methods to control page component.
Definition: NexPage.h:25
API of Nextion.
NexPage(NexPid pid, NexCid cid, char *name, NexTouchEventCb pop=NULL, void *pop_ptr=NULL)
Constructor,inherited NexTouch's constructor function.
Definition: NexPage.cpp:22
void attachPop(NexTouchEventCb pop, void *ptr=NULL)
Register page pop callback function.
Definition: NexPage.cpp:55
Root Class of Nextion Components.
Definition: NexTouch.h:57