Add the buttons to the window, then you just need to show/hide the window instead of showing/hiding each individual button:
PHP Code:
new GuiWindowCtrl(DiscriptionWindow){
new GuiButtonCtrl(ItemButtonWindow){
}
...
}
To display the description of the button when you move the mouse over it, use the hint-attribute, like
PHP Code:
new GuiButtonCtrl(ItemButtonWindow){
hint = "This is the item button";
}
To react to the button click, use the onAction-event:
PHP Code:
function ItemButtonWindow.onAction() {
...
}