Toolbox
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Toolbox
app
/
com.michaelflisar.toolbox.app.features.toolbar
/
MainMenuItems
Main
Menu
Items
@
Stable
class
MainMenuItems
(
val
itemProVersion
:
MenuItem
?
=
null
,
val
itemSettings
:
MenuItem
?
=
null
,
val
customActions
:
List
<
MenuItem
>
=
emptyList()
)
Members
Constructors
Main
Menu
Items
Link copied to clipboard
constructor
(
itemProVersion
:
MenuItem
?
=
null
,
itemSettings
:
MenuItem
?
=
null
,
customActions
:
List
<
MenuItem
>
=
emptyList()
)
Properties
custom
Actions
Link copied to clipboard
val
customActions
:
List
<
MenuItem
>
item
Pro
Version
Link copied to clipboard
val
itemProVersion
:
MenuItem
?
item
Settings
Link copied to clipboard
val
itemSettings
:
MenuItem
?
Functions
combine
With
Link copied to clipboard
fun
combineWith
(
items
:
List
<
MenuItem
>
,
dividerAfterProVersion
:
Boolean
=
true
,
dividerBeforeSettings
:
Boolean
=
true
)
:
List
<
MenuItem
>
get
As
Overflow
Menu
Items
Link copied to clipboard
fun
getAsOverflowMenuItems
(
additionalItems
:
List
<
MenuItem
>
=
emptyList()
,
dividerAfterProVersion
:
Boolean
=
true
,
dividerBeforeSettings
:
Boolean
=
true
)
:
List
<
MenuItem
>