# lv_event_private.h (/api/misc/lv_event_private_h)



<RelatedHeaders name="lv_event.h" isPrivate="true" />

<ApiSummary functions="4" structs="2" />

Functions [#functions]

<ApiMember kind="function" name="lv_event_push" file="misc/lv_event_private.h" line="62" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/misc/lv_event_private.h#L62">
  lv_event_push [#lv_event_push]

  ```c title=" " lineNumbers=1
  void lv_event_push(lv_event_t *e)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name | Type                                                 |
  | ---- | ---------------------------------------------------- |
  | `e`  | <ApiLink name="lv_event_t" display="lv_event_t *" /> |
</ApiMember>

<ApiMember kind="function" name="lv_event_pop" file="misc/lv_event_private.h" line="64" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/misc/lv_event_private.h#L64">
  lv_event_pop [#lv_event_pop]

  ```c title=" " lineNumbers=1
  void lv_event_pop(lv_event_t *e)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name | Type                                                 |
  | ---- | ---------------------------------------------------- |
  | `e`  | <ApiLink name="lv_event_t" display="lv_event_t *" /> |
</ApiMember>

<ApiMember kind="function" name="lv_event_push_and_send" file="misc/lv_event_private.h" line="67" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/misc/lv_event_private.h#L67">
  lv_event_push_and_send [#lv_event_push_and_send]

  ```c title=" " lineNumbers=1
  lv_result_t lv_event_push_and_send(lv_event_list_t *event_list, lv_event_code_t code, void *original_target, void *param)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name              | Type                                                           |
  | ----------------- | -------------------------------------------------------------- |
  | `event_list`      | <ApiLink name="lv_event_list_t" display="lv_event_list_t *" /> |
  | `code`            | <ApiLink name="lv_event_code_t" />                             |
  | `original_target` | `void *`                                                       |
  | `param`           | `void *`                                                       |
</ApiMember>

<ApiMember kind="function" name="lv_event_mark_deleted" file="misc/lv_event_private.h" line="75" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/misc/lv_event_private.h#L75">
  lv_event_mark_deleted [#lv_event_mark_deleted]

  Nested events can be called and one of them might belong to an object that is being deleted. Mark this object's `event_temp_data` deleted to know that its `lv_obj_send_event` should return `LV_RESULT_INVALID`

  ```c title=" " lineNumbers=1
  void lv_event_mark_deleted(void *target)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name     | Type     | Description                                  |
  | -------- | -------- | -------------------------------------------- |
  | `target` | `void *` | pointer to an event target which was deleted |
</ApiMember>

Structs [#structs]

<ApiMember kind="struct" name="_lv_event_dsc_t">
  \_lv_event_dsc_t [#_lv_event_dsc_t]

  | Member      | Type                             | Description |
  | ----------- | -------------------------------- | ----------- |
  | `ext_data`  | <ApiLink name="lv_ext_data_t" /> |             |
  | `cb`        | <ApiLink name="lv_event_cb_t" /> |             |
  | `user_data` | `void *`                         |             |
  | `filter`    | <ApiLink name="uint32_t" />      |             |
</ApiMember>

<ApiMember kind="struct" name="_lv_event_t">
  \_lv_event_t [#_lv_event_t]

  | Member            | Type                                                 | Description |
  | ----------------- | ---------------------------------------------------- | ----------- |
  | `current_target`  | `void *`                                             |             |
  | `original_target` | `void *`                                             |             |
  | `code`            | <ApiLink name="lv_event_code_t" />                   |             |
  | `user_data`       | `void *`                                             |             |
  | `param`           | `void *`                                             |             |
  | `prev`            | <ApiLink name="lv_event_t" display="lv_event_t *" /> |             |
  | `deleted`         | <ApiLink name="uint8_t" />                           |             |
  | `stop_processing` | <ApiLink name="uint8_t" />                           |             |
  | `stop_bubbling`   | <ApiLink name="uint8_t" />                           |             |
  | `stop_trickling`  | <ApiLink name="uint8_t" />                           |             |
  | `ext_data`        | <ApiLink name="lv_ext_data_t" />                     |             |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_ext_data.h&#x22;, &#x22;lv_event.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_types.h&#x22;]" />
