lv_obj_class_private.h

Functions

void lv_obj_destruct(lv_obj_t *obj)
struct _lv_obj_class_t
#include <lv_obj_class_private.h>

Describe the common methods of every object. Similar to a C++ class.

Public Members

const lv_obj_class_t *base_class
void (*constructor_cb)(const lv_obj_class_t *class_p, lv_obj_t *obj)

class_p is the final class while obj->class_p is the class currently being [de]constructed.

void (*destructor_cb)(const lv_obj_class_t *class_p, lv_obj_t *obj)
void (*event_cb)(const lv_obj_class_t *class_p, lv_event_t *e)

class_p is the class in which event is being processed. Widget type specific event function

uint32_t prop_index_start
uint32_t prop_index_end
const lv_property_ops_t *properties
uint32_t properties_count
const lv_property_name_t *property_names
uint32_t names_count
void *user_data
const char *name
int32_t width_def
int32_t height_def
uint32_t editable

Value from lv_obj_class_editable_t

uint32_t group_def

Value from lv_obj_class_group_def_t

uint32_t instance_size
uint32_t theme_inheritable

Value from lv_obj_class_theme_inheritable_t