Garry's Mod Wiki

Panel:GWEN_SetDock

Panel:GWEN_SetDock( string dockState )

Description

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.

Arguments

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.

Page Links


Special Pages


Wikis

?

Render Time: 73ms

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