Loading...
Searching...
No Matches
JsViewDescriptor Struct Reference

Descriptor for a JS view. More...

#include <js_gui.h>

Data Fields

JsViewAlloc alloc
 
JsViewGetView get_view
 
JsViewFree free
 
JsViewCustomMake custom_make
 
JsViewCustomDestroy custom_destroy
 
size_t prop_cnt
 
JsViewPropDescriptor props []
 

Detailed Description

Descriptor for a JS view.

Contains:

  • Pointers to generic view methods (alloc, get_view and free)
  • Pointers to glue code context ctor/dtor methods (custom_make, custom_destroy)
  • Descriptors of properties visible from JS (prop_cnt, props)

js_gui uses this descriptor to produce view factories and views.


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