.TH "bud/bud_app.h" 3 "bud" \" -*- nroff -*- .ad l .nh .SH NAME bud/bud_app.h \- Pure isomorphic C UI rendering contract for libbud\&. .SH SYNOPSIS .br .PP \fR#include 'bud\&.h'\fP .br \fR#include 'bud_jsx\&.h'\fP .br .SS "Macros" .in +1c .ti -1c .RI "#define \fBBUD_APP_ROUTE\fP(render_fn)" .br .RI "Define \fBbud_app_render()\fP in terms of a single render function\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "\fBbud_node\fP * \fBbud_app_render\fP (void)" .br .RI "Application render entry point\&. " .ti -1c .RI "void \fBbud_patch_attr\fP (\fBbud_node\fP *node, const char *name, const char *value)" .br .RI "Queue an attribute patch for a node\&. " .ti -1c .RI "void \fBbud_patch_text\fP (\fBbud_node\fP *node, const char *value)" .br .RI "Queue a text patch for a node\&. " .ti -1c .RI "void \fBbud_app_set_state\fP (void)" .br .RI "Signal that application state has changed\&. " .in -1c .SH "Detailed Description" .PP Pure isomorphic C UI rendering contract for libbud\&. .SH "Macro Definition Documentation" .PP .SS "#define BUD_APP_ROUTE( render_fn)" \fBValue:\fP .nf ISO_EXPORT(bud_node *, bud_app_render, void) \\ { \\ return render_fn(); \\ } .PP .fi .PP Define \fBbud_app_render()\fP in terms of a single render function\&. .PP \fBParameters\fP .RS 4 \fIrender_fn\fP Function returning the root node\&. .RE .PP .SH "Function Documentation" .PP .SS "\fBbud_node\fP * bud_app_render (void )" .PP Application render entry point\&. .PP \fBReturns\fP .RS 4 Root node of the application tree\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for bud from the source code\&.