Garry's Mod Wiki

Revision Difference

Panel:SetDrawLanguageID#549096

<function name="SetDrawLanguageID" parent="Panel" type="classfunc">⤶ <function name="SetDrawLanguageID" parent="DTextEntry" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description> Sets the visibility of the language selection box in a TextEntry when typing in non-English mode. ⤶ See <page>Panel:SetDrawLanguageIDAtLeft</page> for a function that changes the position of the language selection box. Sets the visibility of the language selection box when typing in non-English mode. ⤶ See <page>Panel:SetDrawLanguageIDAtLeft</page> for a function that changes the position of the language selection box. </description> <realm>Client</realm> <args> <arg name="visible" type="boolean">true to make it visible, false to hide it.</arg> </args> <example>⤶ <code>⤶ local TextEntry = vgui.Create( "DTextEntry" )⤶ TextEntry:SetDrawLanguageID(false)⤶ </code>⤶ <output>Hides language selection box.</output>⤶ </example>⤶ </function> ⤶ ⤶