Panel
From GMod Wiki
A Panel is a control for a VGUI. Some of these functions/hooks may only work on certain VGUI elements.
Hooks for use with panels are detailed here :
Object Methods
Panel.SetAchievement
Panel.StartAnimate
Panel.StopAnimate
Panel:AddText
Panel:AlignBottom
Panel:AlignLeft
Panel:AlignRight
Panel:AlignTop
Panel:AlphaTo
Panel:AnimationThinkInternal
Panel:AppendText
Panel:CenterHorizontal
Panel:CenterVertical
Panel:Center
Panel:Clear
Panel:ColorTo
Panel:Command
Panel:CopyBounds
Panel:CopyHeight
Panel:CopyPos
Panel:CopyWidth
Panel:CursorPos
Panel:DoModal
Panel:DockMargin
Panel:DockPadding
Panel:Dock
Panel:DrawFilledRect
Panel:DrawOutlinedRect
Panel:DrawTextEntryText
Panel:DrawTexturedRect
Panel:FocusNext
Panel:FocusPrevious
Panel:GetAlpha
Panel:GetBounds
Panel:GetCaretPos
Panel:GetClassName
Panel:GetContentSize
Panel:GetCookieName
Panel:GetCookieNumber
Panel:GetCookie
Panel:GetDock
Panel:GetName
Panel:GetParent
Panel:GetPos
Panel:GetSize
Panel:GetSkin
Panel:GetTable
Panel:GetTall
Panel:GetValue
Panel:GetWide
Panel:HasFocus
Panel:HasParent
Panel:InsertColorChange
Panel:InvalidateLayout
Panel:InvalidateParent
Panel:IsMultiline
Panel:IsValid
Panel:IsVisible
Panel:KillFocus
Panel:LerpPositions
Panel:LoadControlsFromFile
Panel:LoadControlsFromString
Panel:LocalToScreen
Panel:MakePopup
Panel:MouseCapture
Panel:MoveAbove
Panel:MoveBelow
Panel:MoveBy
Panel:MoveLeftOf
Panel:MoveRightOf
Panel:MoveToBack
Panel:MoveToFront
Panel:MoveTo
Panel:NewAnimation
Panel:NoClipping
Panel:OpenURL
Panel:PaintManual
Panel:ParentToHUD
Panel:PositionLabel
Panel:PostMessage
Panel:Prepare
Panel:RebuildSpawnIcon
Panel:Refresh
Panel:Remove
Panel:RequestFocus
Panel:ScreenToLocal
Panel:SelectAllText
Panel:SetActionFunction
Panel:SetAlpha
Panel:SetAnimationEnabled
Panel:SetAutoDelete
Panel:SetBGColorEx
Panel:SetBGColor
Panel:SetCaretPos
Panel:SetCommand
Panel:SetConVar
Panel:SetContentAlignment
Panel:SetCookieName
Panel:SetCookie
Panel:SetCursor
Panel:SetDrawOnTop
Panel:SetEnabled
Panel:SetFGColorEx
Panel:SetFGColor
Panel:SetFocusTopLevel
Panel:SetFont
Panel:SetHTML
Panel:SetHeight
Panel:SetKeyBoardInputEnabled
Panel:SetKeyboardInputEnabled
Panel:SetMinimumSize
Panel:SetModel
Panel:SetMouseInputEnabled
Panel:SetMultiline
Panel:SetName
Panel:SetPaintBackgroundEnabled
Panel:SetPaintBorderEnabled
Panel:SetPaintFunction
Panel:SetPaintedManually
Panel:SetParent
Panel:SetPlayer
Panel:SetPos
Panel:SetRenderInScreenshots
Panel:SetSize
Panel:SetSkin
Panel:SetTabPosition
Panel:SetTall
Panel:SetTerm
Panel:SetTextInset
Panel:SetText
Panel:SetToolTipPanel
Panel:SetToolTip
Panel:SetTooltipPanel
Panel:SetTooltip
Panel:SetVerticalScrollbarEnabled
Panel:SetVisible
Panel:SetWide
Panel:SetWidth
Panel:SetWrap
Panel:SetZPos
Panel:SizeToContentsX
Panel:SizeToContentsY
Panel:SizeToContents
Panel:SizeTo
Panel:Stop
Panel:StretchBottomTo
Panel:StretchRightTo
Panel:StretchToParent
Panel:TellParentAboutSizeChanges
Panel:Valid
Panel:__eq
Panel:__gc
Panel:__index
Panel:__newindex
See Also
- Base VGUI Elements List For all the base vgui elements.
- Derma Controls For all Derma elements.