Garry's Mod Wiki

Revision Difference

Panel:SetTextSelectionColors#550915

<function name="SetTextSelectionColors" parent="Panel" type="classfunc"> <description>Sets text selection colors of a <page>RichText</page> element.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <added>2023.01.25</added> <args> <arg name="textColor" type="table">The <page>Global.Color</page> to set for selected text.</arg> <arg name="backgroundColor" type="table">The <page>Global.Color</page> to set for selected text background.</arg> </args> </function>