[android-components](../../index.md) / [mozilla.components.concept.menu](../index.md) / [MenuButton](index.md) / [menuController](./menu-controller.md)

# menuController

`abstract var menuController: `[`MenuController`](../-menu-controller/index.md)`?` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/menu/src/main/java/mozilla/components/concept/menu/MenuButton.kt#L21)

Sets a [MenuController](../-menu-controller/index.md) that will be used to create a menu when this button is clicked.

