Garry's Mod Wiki

Panel:SetParent

Panel:SetParent

  Panel:SetParent( Panel parent )

Description

Sets the parent of the panel.

Panels parented to the context menu will not be clickable unless Panel:SetMouseInputEnabled and Panel:SetKeyboardInputEnabled are both true or Panel:MakePopup has been called. If you want the panel to have mouse input but you do not want to prevent players from moving, set Panel:SetKeyboardInputEnabled to false immediately after calling Panel:MakePopup.

Arguments

1 Panel parent
The new parent of the panel.

Special Pages


Wikis

?

Render Time: 94ms

DB GetPage 41
Generate Html 5
SaveChanges (1) 38
Render Body 0
Render Sidebar 7