![]() |
![]() |
![]() |
Close a widget database
#include <Ap.h> int ApCloseDBase( ApDBase_t *db );
ApCloseDBase() closes a widget database that has been opened with ApOpenDBase() or ApOpenDBaseFile().
Closing a widget database deallocates its memory. If you're finished using a widget database, close it to free up the memory.
ApDBase_t *mydbase; mydbase = ApOpenDBase( ABM_mypicture ); ApCreateWidget( mydbase, "this_widget", 10, 10, 0, NULL ); ApCreateWidget( mydbase, "that_widget", 50, 10, 0, NULL ); ApCloseDBase( mydbase );
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
ApOpenDBase(), ApOpenDBaseFile()
![]() |
![]() |
![]() |