Garry's Mod Wiki
Description
We advise against using this. It may be changed or removed in a future update.
Only exists for backwards compatibility with Panel:SetActionFunction. Use DButton instead.
Parent
Derives methods, etc not listed on this page from DButton.
Implements
Implements or overrides the following hooks/methods. If you want to override these, you probably want to call the original function too.
Example
Creates a button with the text "Click Me"
that when pressed prints "Hello World!" in the console.
Output: 

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...