Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API CreateFramePool

Last wiki revision 2021-05-18

Creates a FramePoolMixin (inherits from ), a pool of reusable frames. pool = CreateFramePool(frameType [, parent, frameTemplate, resetterFunc, forbidden])

  • frameType : - Type of the frame to be created (XML tag name) such as "Frame" or "Button".
  • parent : - A common parent for all furnished frames to share, or nil if they will not have a parent.
  • frameTemplate : - Comma-delimited list of XML virtual templates to inherit from.
  • resetterFunc : - Custom function to prepare a frame for reuse; the default function simply hides the frame and clears all points.
  • forbidden : - If true, frames will be made using instead of.
  • - Returns the template(s) assigned to all frames in this pool.
  • - Alternative to manage a collection of frame pools.

Source

https://warcraft.wiki.gg/wiki/API_CreateFramePool · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.