Garry's Mod Wiki

Panel:SetKeyboardInputEnabled

  Panel:SetKeyboardInputEnabled( boolean enable )

Description

Allows or disallows the panel to receive keyboard focus and input. This is recursively applied to all children.

Arguments

1 boolean enable
Whether keyboard input should be enabled for this panel.