Garry's Mod Wiki

Garry's Mod Wiki

  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 DOCK enum.
  • Right: Dock right.
  • Left: Dock left.
  • Bottom: Dock at the bottom.
  • Top: Dock at the top.
  • Fill: Fill the parent panel.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...