[android-components](../../index.md) / [mozilla.components.browser.menu2.candidate](../index.md) / [DrawableButtonMenuIcon](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`DrawableButtonMenuIcon(context: <ERROR CLASS>, @DrawableRes resource: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tint: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`? = null, onClick: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = {})``DrawableButtonMenuIcon(drawable: <ERROR CLASS>?, tint: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`? = null, onClick: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = {})`

Menu icon that displays an image button.

