Garry's Mod Wiki

DExpandButton

Description

This is used internally - although you're able to use it you probably shouldn't.

The little "+" button used by DProperties and DTree_Node.

View source

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.

Methods

boolean DExpandButton:GetExpanded()
Returns whether this DExpandButton is expanded or not.
DExpandButton:SetExpanded( boolean expanded )
Sets whether this DExpandButton should be expanded or not. Only changes appearance.