proc onExampleMeshQualityLoad {} {
	# Here I am setting the items that don't
	# apply to the Error criterion to be greyed out
	# Notice how I use the concept of a "Row Label" and
	# a "Column Label" to refer to the specific Item I want
	# greyed.
	
	meshErrorCheckSelector grey "Single Edges" "Error"
	meshErrorCheckSelector grey	"Double Edges" "Error"
	meshErrorCheckSelector grey "Multiple Edges" "Error"
	meshErrorCheckSelector grey "Non-manifold" "Error"
	meshErrorCheckSelector grey "Stand Along Surface Mesh" "Error"
	meshErrorCheckSelector grey "Disconnected Vertices" "Error"
}

proc onExampleMeshQualityOK {} {
	# Here I am just going to print out the things the user has selected
	# In this function, I use the query command.
	
	set RowLabels    [meshErrorCheckSelector get -key "rowLabel"]
	set ColumnLabels [meshErrorCheckSelector get -key "columnLabel"]
	
	foreach Row $RowLabels {
		foreach Col $ColumnLabels {
			if { [meshErrorCheckSelector query $Row $Col] == 1} {
				mess "The user selected: $Row, $Col \n"
			}
		}
	}
}


