title: How to add two horizontal frame to the main window using RGtk2 in r?
body: <p>I'm using <code>RGtk2</code> package to create a GUI for my data analysis in <code>R</code>. The following code is written in <code>R</code> to create main window as well as vertical box in a frame named "Prediction".</p>
  
  <pre><code>    library(RGtk2)
      #main window
      main_window &lt;- gtkWindow("toplevel",show=F)
      main_window["title"] &lt;- "My App"
  
      #Frame
      frame &lt;- gtkFrameNew("Prediction")
      frame$setLabelAlign(xalign=10, yalign=10)
      main_window$add(frame)
  
      #V Box
      vbox &lt;- gtkVBoxNew(show=T, spacing=10)
      vbox$setBorderWidth(30)
      frame$add(vbox)
  
      #H Box
      hbox &lt;- gtkHBoxNew(show=T, spacing=10)
      vbox$packStart(child=hbox, expand=F, fill=F, padding=0)
  </code></pre>
  
  <p>What I want is to have two horizontal different parts in the main window, first to predict the result and second to plot some curves. I don't know how to do it in R. As far as I've tested, we can't have 2 frames in one window. What other objects can I choose? Is it possible?
  Thanks</p>