Revision Difference
DImageButton:SetMaterial#550283
<function name="SetMaterial" parent="DImageButton" type="panelfunc">
<ispanel>yes</ispanel>
<description>Sets a <page>Global.Material</page> directly as an image. Equivalent of <page>DImage:SetMaterial</page>.</description>
<realm>Client</realm>⤶
<realm>Client and Menu</realm>⤶
<args>
<arg name="mat" type="IMaterial">The material to set</arg>
</args>
</function>