---
title: InventoryGUIButtonInventoryChange -
---
//[KSpigot](../../index.md)/[net.axay.kspigot.inventory](../index.md)/[InventoryGUIButtonInventoryChange](index.md)
# InventoryGUIButtonInventoryChange
[jvm] class [InventoryGUIButtonInventoryChange](index.md)<[T](index.md) : [ForInventory](../-for-inventory/index.md)>(**inventoryGUIElementData**: [InventoryGUIElementData](../-inventory-g-u-i-element-data/index.md), **changeToGUICallback**: () -> [InventoryGUI](../-inventory-g-u-i/index.md)<*>, **changeToPageInt**: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)?, **onChange**: ([InventoryGUIClickEvent](../-inventory-g-u-i-click-event/index.md)<[T](index.md)>) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)?) : [InventoryGUIButton](../-inventory-g-u-i-button/index.md)<[T](index.md)>
## Functions
| Name| Summary|
|---|---|
| [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)| [jvm]
Content
open operator override fun [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
| [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)| [jvm]
Content
open override fun [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
| [onClick](../-inventory-g-u-i-element/on-click.md)| [jvm]
Content
override fun [onClick](../-inventory-g-u-i-element/on-click.md)(clickEvent: [InventoryGUIClickEvent](../-inventory-g-u-i-click-event/index.md)<[T](index.md)>)
| [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)| [jvm]
Content
open override fun [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
## Properties
| Name| Summary|
|---|---|
| [action](index.md#net.axay.kspigot.inventory/InventoryGUIButtonInventoryChange/action/#/PointingToDeclaration/)| [jvm] override val [action](index.md#net.axay.kspigot.inventory/InventoryGUIButtonInventoryChange/action/#/PointingToDeclaration/): ([InventoryGUIClickEvent](../-inventory-g-u-i-click-event/index.md)<[T](index.md)>) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
| [inventoryGUIElementData](index.md#net.axay.kspigot.inventory/InventoryGUIButtonInventoryChange/inventoryGUIElementData/#/PointingToDeclaration/)| [jvm] override val [inventoryGUIElementData](index.md#net.axay.kspigot.inventory/InventoryGUIButtonInventoryChange/inventoryGUIElementData/#/PointingToDeclaration/): [InventoryGUIElementData](../-inventory-g-u-i-element-data/index.md)