toggle menu
ui
1.0.0-SNAPSHOT
jvm
switch theme
search in API
ui
/
org.jetbrains.jewel.ui.component
/
SelectableIconActionButton
Selectable
Icon
Action
Button
@
Composable
fun
SelectableIconActionButton
(
key
:
IconKey
,
contentDescription
:
String
?
,
selected
:
Boolean
,
onClick
:
(
)
->
Unit
,
modifier
:
Modifier
=
Modifier
,
enabled
:
Boolean
=
true
,
focusable
:
Boolean
=
true
,
style
:
IconButtonStyle
=
JewelTheme.iconButtonStyle
,
extraHints
:
Array
<
PainterHint
>
=
emptyArray()
,
interactionSource
:
MutableInteractionSource
=
remember { MutableInteractionSource() }
,
iconClass
:
Class
<
*
>
=
key::class.java
)
@
Composable
fun
SelectableIconActionButton
(
key
:
IconKey
,
contentDescription
:
String
?
,
selected
:
Boolean
,
onClick
:
(
)
->
Unit
,
modifier
:
Modifier
=
Modifier
,
enabled
:
Boolean
=
true
,
focusable
:
Boolean
=
true
,
style
:
IconButtonStyle
=
JewelTheme.iconButtonStyle
,
extraHints
:
Array
<
PainterHint
>
=
emptyArray()
,
tooltipStyle
:
TooltipStyle
=
JewelTheme.tooltipStyle
,
tooltipModifier
:
Modifier
=
Modifier
,
tooltipPlacement
:
TooltipPlacement
=
FixedCursorPoint(offset = DpOffset(0.dp, 16.dp))
,
interactionSource
:
MutableInteractionSource
=
remember { MutableInteractionSource() }
,
iconClass
:
Class
<
*
>
=
key::class.java
,
tooltip
:
@
Composable
(
)
->
Unit
)