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 when this option is hovered.

Arguments

1 Panel menu
The sub DMenu this option belongs to.