目录

button.h

Overview

Defines Button node types for NativeNode APIs.

File to include: <arkui/node_attributes/button.h>

Library: libace_ndk.z.so

System capability: SystemCapability.ArkUI.ArkUI.Full

Since: 12

Related module: ArkUI_NativeModule

Sample: NativeTypeSample

Summary

[h2]Enums

Name typedef Keyword Description
ArkUI_ButtonType ArkUI_ButtonType Enumerates the button types.

Enum Description

[h2]ArkUI_ButtonType

enum ArkUI_ButtonType

Description

Enumerates the button types.

Since: 12

Value Description
ARKUI_BUTTON_TYPE_NORMAL = 0 Normal button (without rounded corners by default).
ARKUI_BUTTON_TYPE_CAPSULE = 1 Capsule-type button (the round corner is half of the height by default).
ARKUI_BUTTON_TYPE_CIRCLE = 2 Circle button.
ARKUI_BUTTON_ROUNDED_RECTANGLE = 8

Rounded rectangle button.

Since: 19