Package-level declarations
Types
Link copied to clipboard
Builder class for creating an IKontextMenuArea with a fluent API.
Link copied to clipboard
Main interface for creating custom context menus in text fields.
Link copied to clipboard
class KontextMenuKeyShortcut(val key: Key, val ctrl: Boolean = false, val meta: Boolean = false, val alt: Boolean = false, val shift: Boolean = false)
Represents a keyboard shortcut for context menu items.
Functions
Link copied to clipboard
@Composable
Creates a text context menu with the provided IKontextMenuArea and KontextMenuRepresentation.
@Composable
Creates a text context menu with the provided items and menu content.
Link copied to clipboard
inline fun <T> kontextMenuArea(noinline menuContent: @Composable (items: List<T>, onDismissRequest: () -> Unit?) -> Unit, builder: Builder<T>.() -> Unit): IKontextMenuArea<T>
Creates an IKontextMenuArea with a builder pattern.