toggle menu
silk
1.10.4
jvm
switch theme
search in API
silk-igui
/
net.silkmc.silk.igui.elements
/
GuiButtonCompoundScroll
Gui
Button
Compound
Scroll
class
GuiButtonCompoundScroll
(
val
icon
:
GuiIcon
,
val
compound
:
GuiCompound
<
*
>
,
val
reverse
:
Boolean
,
val
speed
:
Duration
,
val
scrollDistance
:
Int
,
val
scrollTimes
:
Int
)
:
GuiButton
(
source
)
Members
Constructors
Gui
Button
Compound
Scroll
Link copied to clipboard
constructor
(
icon
:
GuiIcon
,
compound
:
GuiCompound
<
*
>
,
reverse
:
Boolean
,
speed
:
Duration
,
scrollDistance
:
Int
,
scrollTimes
:
Int
)
Properties
compound
Link copied to clipboard
val
compound
:
GuiCompound
<
*
>
icon
Link copied to clipboard
val
icon
:
GuiIcon
reverse
Link copied to clipboard
val
reverse
:
Boolean
scroll
Distance
Link copied to clipboard
val
scrollDistance
:
Int
scroll
Times
Link copied to clipboard
val
scrollTimes
:
Int
speed
Link copied to clipboard
val
speed
:
Duration
Functions
get
Item
Stack
Link copied to clipboard
open
suspend override
fun
getItemStack
(
slotIndex
:
Int
)
:
ItemStack
on
Click
Link copied to clipboard
open
suspend override
fun
onClick
(
clickEvent
:
GuiClickEvent
)
should
Cancel
Link copied to clipboard
open
override
fun
shouldCancel
(
clickEvent
:
GuiClickEvent
)
:
Boolean
start
Using
Link copied to clipboard
open
override
fun
startUsing
(
gui
:
Gui
)
stop
Using
Link copied to clipboard
open
override
fun
stopUsing
(
gui
:
Gui
)