Displaying 1 result from an estimated 1 matches for "selecteduv".
Did you mean:
selecteduvs
2008 Nov 21
3
Dynamic generation of a (sub) layout
...Thanks for any help,
Armin
@selectUVFrame is of type FXVerticalFrame and is itself a child of another
frame.
def generateUVSelectors
@selectUVFrame.each_child{|c| @selectUVFrame.removeChild(c)}
FXButton.new(@selectUVFrame, "&Clear All", nil, nil,
0,).connect(SEL_COMMAND){
@selectedUVs.each{|cb| cb.setCheck(false)}
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...