Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Controls whether or not a frame should raise its frame level on mouse interaction.

Frame:SetToplevel(topLevel)

Arguments[]

topLevel
boolean - If true, to marks this frame as a toplevel frame.

Details[]

  • Typically, this function should be applied to any window-like frames that are displayed in the UI.
  • When enabled, toplevel frames will raise their own frame level dynamically when clicked with the mouse. Render layer flattening will also be implicitly enabled.

Patch changes[]

Patch 2.0.1 (2006-12-05): Cannot be called on protected frames in combat.
Patch 1.10.1 (2006-04-11): Added.

See also[]

Advertisement