Panel.InsertClickableTextStart

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:InsertClickableTextStart( String text )
Description:
Inserts clicakble text.
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.InsertClickableTextStart]Panel.InsertClickableTextStart [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionAdds clickable text to a RichText control
Used onNewerClient.png
Code
local c=vgui.Create( 'RichText' )
c:InsertClickableTextStart("hurp")
	c:AppendText("herp derp\n")
c:InsertClickableTextEnd()
function c:ActionSignal(a,b)
	print(self,a,b)
end
 
OutputPanel: 034486B8 TextClicked hurp


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox