Garry's Mod Wiki



  Panel:GWEN_SetDock( string dockState )


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

Used by Panel:ApplyGWEN to apply the Dock property to a panel object. This calls Panel:Dock.


1 string dockState
The dock mode to pass to the panel's Dock method. This reads a string and applies the approriate Enums/DOCK.

  • Right: Dock right.
  • Left: Dock left.
  • Bottom: Dock at the bottom.
  • Top: Dock at the top.
  • Fill: Fill the parent panel.

Special Pages



Render Time: 22ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 7