Lines Matching refs:event
21 * tree node operations, attribute setting, and event listening.
1620 * visible area change event of the component.
5187 * @brief Defines the parameter type of the component callback event.
5197 * @brief Defines the string type parameter used by the component callback event.
5207 * @brief Enumerates the event types supported by the NativeNode component.
5213 * @brief Defines the gesture event type.
5215 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5221 * @brief Defines the mount event.
5223 * This event is triggered when the component is mounted and displayed. \n
5224 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5230 * @brief Defines the unmount event.
5232 * This event is triggered when the component is unmounted and hidden. \n
5233 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5240 * @brief Defines the area change event.
5242 * This event is triggered when the component's size, position, or any other attribute that may
5244 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5272 * @brief Defines the focus event.
5274 * This event is triggered when the component obtains the focus. \n
5275 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5281 * @brief Defines the blur event.
5283 * This event is triggered when the component loses the focus. \n
5284 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5290 * @brief Defines the click event.
5292 * This event is triggered when the component is clicked. \n
5293 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5300 * <b>ArkUI_NodeComponentEvent.data[2].f32</b>: event timestamp. It is the interval between the time when the event
5302 * <b>ArkUI_NodeComponentEvent.data[3].i32</b>: event input device. The value <b>1</b> indicates the mouse,
5315 * @brief Defines event interception.
5317 * This event is triggered when the component is touched. \n
5318 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5323 * @brief Defines the visible area change event.
5325 * This event is triggered when the ratio of the component's visible area to its total area is greater than or less
5327 * Before registering this event, you must set <b>NODE_VISIBLE_AREA_CHANGE_RATIO</b>. \n
5328 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5339 * @brief Defines the event triggered when the mouse pointer is moved over or away from the component.
5342 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5351 * @brief Defines the click event.
5353 * This event is triggered when the component is clicked by a mouse device button or when the mouse pointer moves
5355 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5360 * @brief Defines the mount event.
5362 * This event is triggered when the component is mounted. \n
5363 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5369 * @brief Defines the unmount event.
5371 * This event is triggered when the component is unmount. \n
5372 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5391 * This event is triggered when a drag operation is about to start on a draggable item. \n
5392 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5402 * When the event callback occurs, the {@link ArkUI_DragEvent} object can be obtained from the
5409 * The current component refers to the component that listens for this event. \n
5410 * When the event callback occurs, the {@link ArkUI_DragEvent} object can be obtained from the
5417 * The current component refers to the component that listens for this event. \n
5418 * When the event callback occurs, the {@link ArkUI_DragEvent} object can be obtained from the
5425 * The current component refers to the component that listens for this event. \n
5426 * When the event callback occurs, the {@link ArkUI_DragEvent} object can be obtained from the
5434 * The current component refers to the component that listens for this event. \n
5435 * When the event callback occurs, the {@link ArkUI_DragEvent} object can be obtained from the
5444 * When the event callback occurs, the {@link ArkUI_DragEvent} object can be obtained from the
5459 * @brief Defines the image loading success event.
5461 * This event is triggered when an image is successfully loaded or decoded. \n
5462 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5480 * @brief Defines the image loading failure event.
5482 * This event is triggered when an error occurs during image loading. \n
5483 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5492 * @brief Defines the SVG animation playback completion event.
5494 * This event is triggered when the animation playback in the loaded SVG image is complete. \n
5495 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5501 * @brief Defines image download process event.
5503 * This event is triggered when downloading webpage images from page components.\n
5504 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5512 * @brief Defines the event triggered when the toggle status changes.
5515 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5523 * @brief Defines the event triggered when the text input content changes.
5526 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5534 * @brief Defines the event triggered when the Enter key of the text input method is pressed.
5537 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5545 * @brief Defines the event triggered when the cut button on the pasteboard, which displays when the text box
5549 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5557 * @brief Defines the event triggered when the paste button on the pasteboard, which displays when the text box
5561 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5569 * @brief Defines the event triggered when the text selection position changes.
5572 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5605 * @brief Defines the event triggered when matching with the regular expression specified by
5609 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5666 * @brief Defines the event triggered when the input in the text box changes.
5669 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5677 * @brief Defines the event triggered when the paste button on the pasteboard, which displays when the text box is
5681 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5689 * @brief Defines the event triggered when the text selection position changes.
5692 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5794 * @brief Defines the event triggered when the selected status of the <b>ARKUI_NODE_CHECKBOX</b> component changes.
5796 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5803 * @brief Defines the event triggered when a date is selected in the <b>ARKUI_NODE_DATE_PICKER</b> component.
5806 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5816 * @brief Defines the event triggered when a time is selected in the <b>ARKUI_NODE_TIME_PICKER</b> component.
5819 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5828 * @brief Defines the event triggered when an item is selected in the <b>ARKUI_NODE_TEXT_PICKER</b> component.
5831 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5839 * @brief Defines the event triggered when a date is selected in the <b>NODE_CALENDAR_PICKER</b>.
5841 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5850 * @brief Defines the event triggered when the <b>ARKUI_NODE_SLIDER</b> component is dragged or clicked.
5852 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5856 * <b>ArkUI_NodeComponentEvent.data[1].i32</b>: state triggered by the event.\n
5861 * @brief Defines the event triggered when the <b>ARKUI_NODE_RADIO</b> component is dragged or clicked.
5863 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5871 * @brief Defines the event triggered when the index of the currently displayed element of this
5874 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5882 * @brief Defines the event triggered when the switching animation of this <b>ARKUI_NODE_SWIPER</b> instance starts.
5884 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5898 * @brief Defines the event triggered when the switching animation of this <b>ARKUI_NODE_SWIPER</b> instance ends.
5900 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5910 * @brief Defines the event triggered on a frame-by-frame basis when the page is turned by a swipe in this
5913 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5923 * @brief Defines the event triggered when content in the swiper component scrolls.
5935 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5939 * <b>onChange</b> event. \n
5948 * @brief Defines the event triggered when the <b>ARKUI_NODE_SCROLL</b> component scrolls.
5950 * Notes for triggering the event:\n
5951 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
5955 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5963 * @brief Defines the event triggered when each frame scrolling starts in the <b>ARKUI_NODE_SCROLL</b> component.
5965 * Notes for triggering the event:\n
5966 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
5968 * 2. This event is not triggered when the controller API is called. \n
5969 * 3. This event does not support the out-of-bounds bounce effect. \n
5970 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
5976 * <b>ArkUI_NodeComponentEvent.data[0].f32</b>: The event handler can work out the amount by which the component
5981 * @brief Defines the event triggered when the container is about to scroll.
5983 * Notes for triggering the event:\n
5984 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
5988 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6000 * @brief Defines the event triggered when the container scrolls.
6002 * Notes for triggering the event:\n
6003 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
6007 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6019 * @brief Defines the event triggered when the container starts scrolling.
6021 * Notes for triggering the event:\n
6022 * 1. This event is triggered when scrolling is started, with support for other input settings, such as keyboard
6024 * 2. This event is triggered when the controller API is called, accompanied by a transition animation. \n
6025 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6031 * @brief Defines the event triggered when scrolling of the <b>ARKUI_NODE_SCROLL</b> component stops.
6033 * Notes for triggering the event:\n
6034 * 1. This event is triggered when scrolling is stopped by the <b>ARKUI_NODE_SCROLL</b> component or other input
6036 * 2. This event is triggered when the controller API is called, accompanied by a transition animation. \n
6037 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6043 * @brief Defines the event triggered when scrolling of the <b>ARKUI_NODE_SCROLL</b> component reaches
6046 * Notes for triggering the event:\n
6047 * 1. This event is triggered when scrolling reaches the edge after being started by the <b>ARKUI_NODE_SCROLL</b>
6051 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6060 * Condition for triggering the event: \n
6062 * When the event callback occurs, the union type in the {@Link ArkUI_NodeEvent} object is
6069 * Condition for triggering the event: \n
6071 * When the event callback occurs, the union type in the {@Link ArkUI_NodeEvent} object is \n
6078 * @brief Defines the event triggered when a child component enters or leaves the list display area.
6080 * Notes for triggering the event:\n
6081 * This event is triggered once when the list is initialized and when the index of the first child component or the
6083 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6092 * @brief Defines the event triggered when the list is about to scroll.
6094 * Notes for triggering the event:\n
6095 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
6099 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6108 * @brief Defines the event triggered when the list scrolls.
6110 * Notes for triggering the event:\n
6111 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
6115 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6124 * @brief Defines the event triggered when the refresh state of the <b>ARKUI_NODE_REFRESH</b> object changes.
6126 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6133 * @brief Defines the event triggered when the <b>ARKUI_NODE_REFRESH</b> object enters the refresh state.
6135 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6141 * @brief Defines the event triggered when the pull-down distance of <b>ARKUI_NODE_REFRESH</b> changes.
6143 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6151 * @brief Defines the event triggered when the <b>ARKUI_NODE_SCROLL</b> component is about to scroll.
6153 * Notes for triggering the event:\n
6154 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other
6158 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6167 * @brief Defines the event triggered when the water flow container scrolls.
6169 * Notes for triggering the event:\n
6170 * 1. This event is triggered when scrolling is started by the <b>ARKUI_NODE_SCROLL</b> component or other input
6174 * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
6183 * @brief Defines the enumerated values of the event triggered,
6185 * Condition for triggering the event: \n
6186 * This event is triggered when the index value of the first or last subcomponent \n
6188 * When the event callback occurs, the union type in the {@Link ArkUI_NodeEvent} object is \n
6251 * @brief Defines the common structure type of a component event.
6258 * @brief Obtains the type of a component event.
6260 * @param event Indicates the pointer to the component event.
6261 * @return Returns the type of the component event.
6264 ArkUI_NodeEventType OH_ArkUI_NodeEvent_GetEventType(ArkUI_NodeEvent* event);
6267 * @brief Obtains the custom ID of a component event.
6269 * The event ID is passed in as a parameter when the {@link registerNodeEvent} function is called and can be applied
6270 * to the dispatch logic of the same event entry function {@link registerNodeEventReceiver}.
6272 * @param event Indicates the pointer to the component event.
6273 * @return Returns the custom ID of the component event.
6276 int32_t OH_ArkUI_NodeEvent_GetTargetId(ArkUI_NodeEvent* event);
6279 * @brief Obtains the component object that triggers a component event.
6281 * @param event Indicates the pointer to the component event.
6282 * @return Returns the component object that triggers the component event.
6285 ArkUI_NodeHandle OH_ArkUI_NodeEvent_GetNodeHandle(ArkUI_NodeEvent* event);
6288 * @brief Obtains input event (for example, touch event) data for a component event.
6290 * @param event Indicates the pointer to the component event.
6291 * @return Returns the pointer to the input event data.
6294 ArkUI_UIInputEvent* OH_ArkUI_NodeEvent_GetInputEvent(ArkUI_NodeEvent* event);
6297 * @brief Obtains the numerical data in a component event.
6299 * @param event Indicates the pointer to the component event.
6303 ArkUI_NodeComponentEvent* OH_ArkUI_NodeEvent_GetNodeComponentEvent(ArkUI_NodeEvent* event);
6306 * @brief Obtains the string data in a component event.
6308 * @param event Indicates the pointer to the component event.
6312 ArkUI_StringAsyncEvent* OH_ArkUI_NodeEvent_GetStringAsyncEvent(ArkUI_NodeEvent* event);
6315 * @brief Obtains the custom data in a component event.
6317 * This parameter is passed in {@link registerNodeEvent} and can be applied to the service logic when the event
6320 * @param event Indicates the pointer to the component event.
6324 void* OH_ArkUI_NodeEvent_GetUserData(ArkUI_NodeEvent* event);
6329 * @param event 组件事件指针。
6338 int32_t OH_ArkUI_NodeEvent_GetNumberValue(ArkUI_NodeEvent* event, int32_t index, ArkUI_NumberValue* value);
6343 * @param event 组件事件指针。
6353 int32_t OH_ArkUI_NodeEvent_GetStringValue(ArkUI_NodeEvent* event, int32_t index, char** string, int32_t* stringSize);
6358 * @param event 组件事件指针。
6366 int32_t OH_ArkUI_NodeEvent_SetReturnNumberValue(ArkUI_NodeEvent* event, ArkUI_NumberValue* value, int32_t size);
6388 * @brief Defines the custom component event type.
6406 * @brief Defines the general structure of a custom component event.
6420 * @brief Defines the component adapter event.
6432 /** This event occurs when the component is attached to the adapter. */
6434 /** This event occurs when the component is detached from the adapter. */
6436 /** This event occurs when the adapter obtains the unique ID of the new element to add. */
6438 /** This event occurs when the adapter obtains the content of the new element to add. */
6440 /** This event occurs when the adapter removes an element. */
6481 * @brief Registers an event callback for the adapter.
6485 * @param receiver Indicates the event receiver callback.
6492 ArkUI_NodeAdapterHandle handle, void* userData, void (*receiver)(ArkUI_NodeAdapterEvent* event));
6495 * @brief Deregisters an event callback for the adapter.
6582 * @brief Obtains the custom data passed in during registration of the specified event.
6584 * @param event Indicates the target adapter event.
6587 void* OH_ArkUI_NodeAdapterEvent_GetUserData(ArkUI_NodeAdapterEvent* event);
6590 * @brief Obtains the event type.
6592 * @param event Indicates the target adapter event.
6593 * @return Returns the event type.
6596 ArkUI_NodeAdapterEventType OH_ArkUI_NodeAdapterEvent_GetType(ArkUI_NodeAdapterEvent* event);
6599 * @brief Obtains the element to be removed for the event to be destroyed.
6601 * @param event Indicates the target adapter event.
6605 ArkUI_NodeHandle OH_ArkUI_NodeAdapterEvent_GetRemovedNode(ArkUI_NodeAdapterEvent* event);
6608 * @brief Obtains the index of the element to be operated for the specified adapter event.
6610 * @param event Indicates the target adapter event.
6614 uint32_t OH_ArkUI_NodeAdapterEvent_GetItemIndex(ArkUI_NodeAdapterEvent* event);
6619 * @param event Indicates the target adapter event.
6625 ArkUI_NodeHandle OH_ArkUI_NodeAdapterEvent_GetHostNode(ArkUI_NodeAdapterEvent* event);
6630 * @param event Indicates the target adapter event.
6637 int32_t OH_ArkUI_NodeAdapterEvent_SetItem(ArkUI_NodeAdapterEvent* event, ArkUI_NodeHandle node);
6642 * @param event Indicates the target adapter event.
6649 int32_t OH_ArkUI_NodeAdapterEvent_SetNodeId(ArkUI_NodeAdapterEvent* event, int32_t id);
6801 * @brief Registers an event for the specified node.
6804 * @param eventType Indicates the type of event to register.
6805 * @param targetId Indicates the custom event ID, which is passed in the callback of {@link ArkUI_NodeEvent}
6806 * when the event is triggered.
6807 * @param userData Indicates the custom event parameter, which is passed in the callback of {@link ArkUI_NodeEvent}
6808 * when the event is triggered.
6822 * @brief Unregisters an event for the specified node.
6825 * @param eventType Indicates the type of event to unregister.
6830 * @brief Registers an event receiver.
6833 * the registered event receiver. \n
6834 * A new call to this API will overwrite the previously registered event receiver. \n
6839 * @param eventReceiver Indicates the event receiver to register.
6841 void (*registerNodeEventReceiver)(void (*eventReceiver)(ArkUI_NodeEvent* event));
6844 * @brief Unregisters the event receiver.
6914 * @brief Registers a custom event for a node. When the event is triggered, the value is returned through the entry
6918 * @param eventType Indicates the type of event to register.
6919 * @param targetId Indicates the custom event ID, which is passed in the callback of {@link ArkUI_NodeCustomEvent}
6920 * when the event is triggered.
6921 * @param userData Indicates the custom event parameter, which is passed in the callback of
6922 * {@link ArkUI_NodeCustomEvent} when the event is triggered.
6933 * @brief Unregisters a custom event for a node.
6936 * @param eventType Indicates the type of event to unregister.
6941 * @brief Registers a unified entry point function for custom node event callbacks.
6945 * A new call to this API will overwrite the previously registered event receiver.
6950 * @param eventReceiver Indicates the event receiver to register.
6952 void (*registerNodeCustomEventReceiver)(void (*eventReceiver)(ArkUI_NodeCustomEvent* event));
6955 * @brief Unregisters the unified entry point function for custom node event callbacks.
7024 * @brief Adds a component event callback function to a component to receive component events generated
7027 * Unlike the global registration function <b>registerNodeEventReceiver</b>, this API allows multiple event
7034 * @param node Indicates the component for which you want to add the event callback function.
7035 * @param eventReceiver Indicates the component event callback function to add.
7040 int32_t (*addNodeEventReceiver)(ArkUI_NodeHandle node, void (*eventReceiver)(ArkUI_NodeEvent* event));
7043 * @brief Removes the registered component event callback function from a component.
7045 * @param node Indicates the component from which you want to remove the event callback function.
7046 * @param eventReceiver Indicates the component event callback function to remove.
7051 int32_t (*removeNodeEventReceiver)(ArkUI_NodeHandle node, void (*eventReceiver)(ArkUI_NodeEvent* event));
7054 * @brief Adds a custom event callback function to a component to receive custom events
7058 * multiple event receivers to be added to the same component. \n
7064 * @param node Indicates the component for which you want to add the custom event callback function.
7065 * @param eventReceiver Indicates the custom event callback function to add.
7070 int32_t (*addNodeCustomEventReceiver)(ArkUI_NodeHandle node, void (*eventReceiver)(ArkUI_NodeCustomEvent* event));
7073 * @brief Removes a registered custom event callback function from a component.
7075 * @param node Indicates the component from which you want to remove the custom event callback function.
7076 * @param eventReceiver Indicates the custom event callback function to remove.
7082 ArkUI_NodeHandle node, void (*eventReceiver)(ArkUI_NodeCustomEvent* event));
7133 * @brief Obtains the size constraint for measurement through a custom component event.
7135 * @param event Indicates the pointer to the custom component event.
7139 ArkUI_LayoutConstraint* OH_ArkUI_NodeCustomEvent_GetLayoutConstraintInMeasure(ArkUI_NodeCustomEvent* event);
7143 * custom component event.
7145 * @param event Indicates the pointer to the custom component event.
7149 ArkUI_IntOffset OH_ArkUI_NodeCustomEvent_GetPositionInLayout(ArkUI_NodeCustomEvent* event);
7152 * @brief Obtains the drawing context through a custom component event.
7154 * @param event Indicates the pointer to the custom component event.
7158 ArkUI_DrawContext* OH_ArkUI_NodeCustomEvent_GetDrawContextInDraw(ArkUI_NodeCustomEvent* event);
7161 * @brief Obtains the ID of a custom component event.
7163 * @param event Indicates the pointer to the custom component event.
7164 * @return Returns the ID of the custom component event.
7167 int32_t OH_ArkUI_NodeCustomEvent_GetEventTargetId(ArkUI_NodeCustomEvent* event);
7170 * @brief Obtains custom event parameters through a custom component event.
7172 * @param event Indicates the pointer to the custom component event.
7173 * @return Returns the custom event parameters.
7176 void* OH_ArkUI_NodeCustomEvent_GetUserData(ArkUI_NodeCustomEvent* event);
7179 * @brief Obtains a component object through a custom component event.
7181 * @param event Indicates the pointer to the custom component event.
7185 ArkUI_NodeHandle OH_ArkUI_NodeCustomEvent_GetNodeHandle(ArkUI_NodeCustomEvent* event);
7188 * @brief Obtains the event type through a custom component event.
7190 * @param event Indicates the pointer to the custom component event.
7191 * @return Returns the type of the custom component event.
7194 ArkUI_NodeCustomEventType OH_ArkUI_NodeCustomEvent_GetEventType(ArkUI_NodeCustomEvent* event);
7199 * @param event 自定义组件事件。
7207 ArkUI_NodeCustomEvent* event, ArkUI_CustomSpanMeasureInfo* info);
7212 * @param event 自定义组件事件。
7220 ArkUI_NodeCustomEvent* event, ArkUI_CustomSpanMetrics* metrics);
7225 * @param event 自定义组件事件。
7226 * @param event 需要获取的绘制信息。
7233 ArkUI_NodeCustomEvent* event, ArkUI_CustomSpanDrawInfo* info);
7269 * @brief Defines the node content event type.
7274 /** Defines the mount event. */
7276 /** Defines the unmount event. */
7281 * @brief Defines the general structure of a node content event.
7288 * @brief Defines the node content event callback function.
7292 typedef void (*ArkUI_NodeContentCallback)(ArkUI_NodeContentEvent* event);
7307 * @param event Indicates the pointer to the node content.
7311 ArkUI_NodeContentEventType OH_ArkUI_NodeContentEvent_GetEventType(ArkUI_NodeContentEvent* event);
7314 * @brief Obtains the node content object that triggers a node content event.
7316 * @param event Indicates the pointer to the node content event.
7317 * @return Returns the node content object that triggers the node content event.
7320 ArkUI_NodeContentHandle OH_ArkUI_NodeContentEvent_GetNodeContentHandle(ArkUI_NodeContentEvent* event);
7441 * @brief The event called when the sliding operation offset changes.
7450 * {@link ARKUI_ERROR_CODE_ATTRIBUTE_OR_EVENT_NOT_SUPPORTED} The component does not support this event.
7466 * @brief The event called when the system color mode changes.
7475 * {@link ARKUI_ERROR_CODE_ATTRIBUTE_OR_EVENT_NOT_SUPPORTED} The component does not support this event.
7482 * @brief Unregister the event callback when the system color mode changes.
7490 * @brief The event called when the system font style changes.
7499 * {@link ARKUI_ERROR_CODE_ATTRIBUTE_OR_EVENT_NOT_SUPPORTED} The component does not support this event.
7503 void (*onFontStyleChange)(ArkUI_SystemFontStyleEvent* event, void* userData));
7506 * @brief Unregister the event callback when the system font style changes.
7516 * @param event Indicates a pointer to the current system font change event.
7521 float OH_ArkUI_SystemFontStyleEvent_GetFontSizeScale(const ArkUI_SystemFontStyleEvent* event);
7526 * @param event Indicates a pointer to the current system font change event.
7531 float OH_ArkUI_SystemFontStyleEvent_GetFontWeightScale(const ArkUI_SystemFontStyleEvent* event);