Garry's Mod Wiki

Panel:SetActionFunction

void Panel:SetActionFunction( function func )

Description

We advise against using this. It may be changed or removed in a future update. Does nothing at all.

Used in Button to call a function when the button is clicked and in Slider when the value changes.

Arguments

1 function func
Function to call when the Button is clicked or the Slider value is changed.

Arguments given are:

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 13