toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.view
/
addTo
add
To
fun
<
T
:
View
>
T
.
addTo
(
parent
:
Container
)
:
T
Alias for
parent += this
. Refer to
Container.plusAssign
.
inline
fun
<
T
:
View
>
T
.
addTo
(
instance
:
Container
,
callback
:
T
.
(
)
->
Unit
=
{}
)
:
T