Example #1
0
def sheetProperty(name, callback=None):
	OutputInsertsOnSheet.printProperty(getSelf(), name, callback)
	try:
		p = StandardFluidSheet.findVisualElementWithName(getSelf().root, getSelf().outputInsertsOnSheet_knownComponents["_property_%s"%name])
		cc = p.outputInsertsOnSheet_providedComponent.component
	

		@muchLater(20)
		def validate(cc, p):
			cc.validate()
			cc.doLayout()

			for c in cc.getComponents():
				c.doLayout()
			p.dirty=1

		validate(cc, p)
	except:
		pass
Example #2
0
def findByName(reg):
	return StandardFluidSheet.findVisualElementWithName(getSelf(), reg)