
  This section provides the resource specifications for the Submit
  Control portion of the commandWindow.  A Table widget is used as the
  manager widget because Row Column just can't do the job here, where we
  mix types of widgets with differing heights in a row, AND types of
  widgets with differing widths in a column.  XmRowColumn gets fascist in
  such situations, and makes every cell the same width and height.  We
  don't want that (wastes ALOT of real estate in this case).  So, we'll
  try the Table Widget.

  ----------------------------------------------------------------------

#submitCtrl*wcTrace:		True

*submitCtrl.wcConstructor:	XmCreateFrame
*submitCtrl.wcChildren:		table
*submitCtrl.marginWidth:	6
*submitCtrl.marginHeight:	6

*table.wcClassName:		Table
*table.borderWidth:	0
*table.wcChildren:	start, rtRadio, fromLabel, fromTime, fromType,   \
			stop,           toLabel,   toTime,   toType
#				  c r cs rs opts
*table.layout:		start     0 0  1  1 wWhH ;\
			stop      0 1  1  1   hH ;\
			rtRadio   1 0  1  2 wW   ;\
			fromLabel 2 0  1  1 wW   ;\
			toLabel   2 1  1  1      ;\
			fromTime  3 0  1  1      ;\
			toTime    3 1  1  1      ;\
			fromType  4 0  1  1 wW   ;\
			toType    4 1  1  1

*table.start.wcConstructor:	XmCreatePushButton
*table.start.labelString:	Submit Query
*table.start.activateCallback:	WcSetInsensitiveCB( this ), \
				WcSetSensitiveCB  ( *table.stop )

*table.stop.wcConstructor:	XmCreatePushButton
*table.stop.labelString:	Stop Query
*table.stop.sensitive:		False
*table.stop.activateCallback:	WcSetInsensitiveCB( this ), \
                                WcSetSensitiveCB  ( *table.start )

*rtRadio.wcConstructor:		XmCreateRadioBox
*rtRadio.wcChildren:		trToggle, rtToggle

*trToggle.wcConstructor:	XmCreateToggleButtonGadget
*trToggle.labelString:		Query Time Range
*trToggle.set:			True
*trToggle.armCallback:		WcSetSensitiveCB   ( *fromLabel, *fromTime, \
					*fromType, *toLabel, *toTime, *toType)

*rtToggle.wcConstructor:	XmCreateToggleButtonGadget
*rtToggle.labelString:		Real Time Stream
*rtToggle.armCallback:		WcSetInsensitiveCB ( *fromLabel, *fromTime, \
					*fromType, *toLabel, *toTime, *toType)

*fromLabel.wcConstructor:	XmCreateLabel
*fromLabel.labelString:		Begin Time:
*fromLabel.alignment:		ALIGNMENT_END

*toLabel.wcConstructor:		XmCreateLabel
*toLabel.labelString:		End Time:
*toLabel.alignment:		ALIGNMENT_END

*fromTime.wcConstructor:	XmCreateText
*toTime.wcConstructor:		XmCreateText

*fromType.wcConstructor:	XmCreateRadioBox
*fromType.orientation:		HORIZONTAL
*fromType.wcChildren:		sclk, scet, ert, mst, rct

*toType.wcConstructor:		XmCreateRadioBox
*toType.orientation:		HORIZONTAL
*toType.wcChildren:		sclk, scet, ert, mst, rct

*table*sclk.set:		True
*table*sclk.wcConstructor:	XmCreateToggleButtonGadget
*table*scet.wcConstructor:	XmCreateToggleButtonGadget
*table*ert.wcConstructor:	XmCreateToggleButtonGadget
*table*mst.wcConstructor:	XmCreateToggleButtonGadget
*table*rct.wcConstructor:	XmCreateToggleButtonGadget
