UI/SafeToolCreationExample.py
14 import pyfbsdk_additions
17 def BtnCallback(control, event):
18 print control.Caption,
" has been clicked!"
20 def PopulateLayout(mainLyt):
23 toolname =
"Bullet Proof"
27 Tool creation function. Everything about the tool is created here.
28 So if this script is executed multiple times and we only call this function once
29 there won't be multiple instantiation of this tool.
31 t = pyfbsdk_additions.FBCreateUniqueTool(toolname)
54 if toolname
in pyfbsdk_additions.FBToolList: