Garry's Mod Wiki

DMenuOption:SetSubMenu

  DMenuOption:SetSubMenu( Panel menu )

Description

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

Used internally by DMenuOption:AddSubMenu to create the submenu arrow and assign the created submenu to be opened this this option is hovered.

Arguments

1 Panel menu