Class

MouseButton

Source set: Android
public actual class MouseButton(public val buttonId: Int)

Members

Companion

Source set: Android
public actual companion object

Properties

Primary

Source set: Android
public val Primary: MouseButton

The left mouse button

Secondary

Source set: Android
public val Secondary: MouseButton

The right mouse button

Tertiary

Source set: Android
public val Tertiary: MouseButton

The middle mouse button

Source set: Common
public expect class MouseButton(public val buttonId: Int)

Representation of a mouse button with its associated ID for the current platform.

Members

Companion

Source set: Common
public companion object

Properties

Primary

Source set: Common
public val Primary: MouseButton

The primary mouse button. Typically the left mouse button.

Secondary

Source set: Common
public val Secondary: MouseButton

The secondary mouse button. Typically the right mouse button.

Tertiary

Source set: Common
public val Tertiary: MouseButton

The tertiary mouse button. Typically the middle mouse button.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: