Displaying 1 result from an estimated 1 matches for "fxcheckbutton".
Did you mean:
checkbutton
2008 Nov 21
3
Dynamic generation of a (sub) layout
...drawScene
}
FXButton.new(@selectUVFrame, "&Set All", nil, nil, 0).connect(SEL_COMMAND){
@selectedUVs.each{|cb| cb.setCheck(true)}
drawScene
}
selectMatrix = FXMatrix.new(@selectUVFrame, 4, MATRIX_BY_COLUMNS)
@selectedUVs = []
uvs.length.times{|i|
@selectedUVs << FXCheckButton.new(selectMatrix, i.to_s, nil, 0){ |cb|
cb.setCheck(true)
}
@selectedUVs[-1].connect(SEL_COMMAND, method(:onSelectUV))
}
@selectUVFrame.recalc
end
--
View this message in context: http://www.nabble.com/Dynamic-generation-of-a-%28sub%29-layout-tp20630230p20630230.html
Sent from the FX...