Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetClickFrame

Last wiki revision 2022-08-01

Returns the frame registered with the given object name. frame = GetClickFrame(name)

  • name: - The name of the frame to obtain.
  • frame: - The table handle to the named frame if it exists, else nil.
  • This function acts as a secure cache for frame name to object lookups. The first call to this function will cache the frame object registered assigned to in the global namespace, and all subsequent calls thereafter will return the same frame even if the global is later replaced.
  • This function will not cache frame objects if the queried name does not match their actual object name as returned by UIObject:GetName.
  • If called securely, this function returns the frame to the caller untainted.

Source

https://warcraft.wiki.gg/wiki/API_GetClickFrame · 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.