13 from pyfbsdk_additions
import *
15 def BtnRadioCallback(control, event):
16 print control.Caption,
" has been clicked!"
18 def PopulateLayout(mainLyt):
20 group.AddCallback(BtnRadioCallback)
22 attachType = FBAttachType.kFBAttachTop
25 name =
"BtnRadio " + str(i)
30 b.Style = FBButtonStyle.kFBRadioButton
37 mainLyt.AddRegion(name,name, x, y, w, h)
39 mainLyt.SetControl(name,b)
41 attachType = FBAttachType.kFBAttachBottom