FXRuby - change state of the window

Hi, guys, i am new to FXRuby.
I have a problem, like this, in the MainWindow i have some frames, buttons, etc, when i click on the one of the buttons, i want to change state of the MainWindow, to have different labels, buttons, frames. Something like when you install something, on the button next, you go to next slide. How could i do that.
Sorry for my bad English