!objects
message={ value="Xtpanel objects" }
text={ value="Xtpanel lets you build panels containing
many different types of interactive objects. This panel shows 
you many of the different objects available.
Select an object, and press CREATE to create it. The object
will appear in a new window. Press DESTROY to destroy it.
     The script used to create each object will appear in the
box below. You can edit the script before creating the object."
}
box={ 
   message={ value="List of objects:" }
   hbox={ borderWidth=0
    button={ label=message 
	action="ASSIGN tobe message={ name=test value=""a message"" }"
    }
    button={ label=button 
	action="ASSIGN tobe button={ name=test value=""a button"" }"
    }
    button={ label=toggle 
	action="ASSIGN tobe toggle={ name=test value=""a toggle"" }"
    }
    button={ label=slider 
	action="ASSIGN tobe slider={ name=test value=""a slider"" }"
    }
    button={ label=scrollbar 
	action="ASSIGN tobe scrollbar={ name=test value=""a scrollbar"" }"
    }
   }
   hbox={ borderWidth=0
    button={ label=text 
	action="ASSIGN tobe text={ name=test value=""a text object"" }"
    }
    button={ label=field 
	action="ASSIGN tobe field={ name=test value=""a field"" }"
    }
    button={ label=graph 
	action="ASSIGN tobe graph={ name=test }"
    }
    button={ label=grid 
	action="ASSIGN tobe grid={ name=test }"
    }
    button={ label=togglegrid 
	action="ASSIGN tobe togglegrid={ name=test }"
    }
   }
}
message={ value="Here is a script for this object:" }
text={ name=tobe editType=edit width=700 }
button={ label=CREATE action="CREATE window1 window={ name=newwin $tobe }" }
button={ label=DESTROY action="DESTROY newwin" }
