title: How to position Toggle Buttons in motif
body: <p>I have a compiling and working program, but I can't figure out how to place the buttons anywhere other than the top left.</p>
  
  <p>Do I need to specify the location in rowcol (like I am now), or do I specify the position of each button when I assign them using XtCreateManagedWidget?</p>
  
  <p>Note that I have callbacks declared, but I'm not including them as they are working.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;Xm/Xm.h&gt;
  #include &lt;Xm/ToggleB.h&gt;
  #include &lt;Xm/RowColumn.h&gt;
  
  int main(int argc, char **argv)
  {
    Widget shell, rowcol, toggle1, toggle2;
    XtAppContext app;
  
    //Set the window's size at 300x300
    shell = XtVaAppInitialize(&amp;app, "Radio", NULL, 0, &amp;argc, argv, NULL, 
              XmNwidth, 300, XmNheight, 300, NULL);
  
    //I want the buttons to start at 100x100
    rowcol = XtVaCreateWidget("rowcol", xmRowColumnWidgetClass, shell, 
              XmNx, 100, XmNy, 100, NULL);
  
    XtManageChild(rowcol);
  
    //Add the buttons &amp; callbacks
    toggle1 = XtCreateManagedWidget("Switch1", xmToggleButtonWidgetClass, rowcol, NULL, 0);
    XtAddCallback(toggle1, XmNvalueChangedCallback, toggle1_cbk, NULL);
  
    toggle2 = XtCreateManagedWidget("Switch2", xmToggleButtonWidgetClass, rowcol, NULL, 0);
    XtAddCallback(toggle2, XmNvalueChangedCallback, toggle2_cbk, NULL);
  
    //Starts everything up
    XtRealizeWidget(shell);
    XtMainAppLoop(app);
  
    return 0;
  }
  </code></pre>