Garry's Mod Wiki
Description
Called when the panel should generate example use case / example code to use for this panel. Used in the panel opened by derma_controls console command.
Arguments
1 string class
The classname of the panel to generate example for. This will be the class name of your panel.
Example
Example usage of this hook from DButton's code.
Output: A tab named "DButton" will appear in derma_controls menu.
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 twice a day. Edits and history are not available.
Last Parsed: Loading...