title: Gtk show and hide containers on button click
body: <p>I'm working on a simple app. I basically have a GUI made in Glade. I'm using C.</p>
  
  <p>I have on the top a bar about 10 buttons. I want to press, for example, button 1 and I want my low-half screen (which is a box with a fixed and some buttons) to show. </p>
  
  <p>However if a press the button 2 on the top bar I want my lower-half screen to hide that content an replace it with some new one. I know I can do it manually with widget_hide and show one by one, but is there any way I can do it with glade containers?</p>
  
  <pre><code>GtkWidget *btn = ptr[2];
  GtkWidget *fx = ptr[1];
  GtkWidget *holder = ptr[3];
      if(gtk_toggle_button_get_active(btn)){
          gtk_fixed_put(holder,fx,0,0);
          gtk_widget_show(fx);
      }else{
          gtk_widget_hide(fx);
      }
  </code></pre>
  
  <p>That's a really basic idea, <code>btn</code> being the button I press, <code>holder</code> being the fixed container inside the box, and <code>fx</code> being the fixed container of the widgets I want to show/hide and replace with other fixed with different widgets.</p>
  
  <p>Kinda hard to explain myself. Basically y press a button for example each button its a different window, like changing a div and it's contents on HTML.</p>