Apply tint to widget button

In build 2012.894, is it possible to modify the tint of the image used for a widget button? This type of thing comes up often when considering ‘locked’ and ‘unlocked’ states of objects. Rather than create the grayscale image in the imageSheet, it would be nice to simply alter the tint similar to this…

--Of course we pass in the referenced values to instantiate a button  
for k,v in pairs(buttonList) do  
 local button = widget.newButton{  
 sheet = buttonSheet,  
 defaultIndex = defIndex,  
 label = defLabel,  
 font = fontName,  
 fontSize = 12,  
 width = 60, height = 60,  
 onRelease = defEvent  
 }  
--Add to a parent group and position relative  
 tabGroup:insert(button)  
 button.x = -10 + 60 \* (k % 2)  
 button.y = 10 + 50 \* math.ceil(k / 2)  
 button.itemName = v  
 -- PROBLEM HERE  
 button:setFillColor(100, 100, 100)  
end  

It seems like it might be possible if an image was created first and tinted before being used in the button; however, display objects don’t seem to pass by reference like imageSheets. Would it be better to just use images and write an event listener for ‘over’ and ‘onRelease’ instead? Thanks for the suggestions! [import]uid: 168249 topic_id: 30611 reply_id: 330611[/import]