#	kit.m

#       other Muse bits:  screenset, package, dimension,
#			  button.ele, button.map, scroll.ele, scroll.map,
#			  still.ele, still.map, video.ele, video.map,
#			  text.ele, text.map, graphic.ele, package.ele
#
#					   x y   w   h  bw bd bg
screenset {   ( "main" window "RootWindow" 0 0  100 250  0 0  45 )  }

package "test"
{
	screen_name "main"
	on_open rset_position("test" 0)
	active
#			   min max init rnge bndry
	dimension "name" { (0  100   0   0   limit) }

	element "controls"
  	{ 
		type  		tkwidget
    		screen_name  	"main"
    		active
    		map button
      		{ 
			pos_in  0
        		pos_out  100
        		label  "Muse Kit"
			# x  y  w h  f bk bd bw
			( 10 10 5 2 35 45 35 1 )
			font "*times-bold-r-normal--18-*"
        		function  quit
		 }

    		map button
      		{ 
			pos_in  0
        		pos_out  100
        		label  "Save"
			# x   y w h  f bk bd bw
			( 10 40 5 2 35 45 35 1 )
			font "*times-bold-r-normal--18-*"
        		function  write_data "test.save"
		 }
    		map tkscroll
      		{ 
			pos_in  	0
			pos_out 	100
        		orientation  	horizontal
			# x   y  w  h  f bk bd bw
			( 10 70 50 10 35 45 35 1)
#			represents  packname  dimension  <int units>
        		represents  "test" "name" position 100
		 }


	 }

#  opts:  text_options 1 (no scroll)
#         edit_type edit, read, or write

	element "text"
	{
		type text
		active
		screen_name "main"
		map tktext
		{
			pos_in 0
			pos_out 100
			# x  y   w h  f bk bd bw
			(10 175 75 40 35 45 35 1 )
			font "*times-bold-r-normal--18-*"
			file "/mit/musedev/MuseBits/text.ele"
			edit_type edit
		 }
	 }

}
