Thread Tools Display Modes
09-06-23, 07:47 PM   #1
scottingram
A Murloc Raider
Join Date: Aug 2023
Posts: 7
SecureHandlerUnwrapScript

I have a frame and I do a few different
SecureHandlerWrapScript(self, "OnClick", ... )
based on a user's config choices.

When a user changes their config, I may need to remove one of those WrappedScripts and replace it with some SetAttribute() behaviors.

QUESTIONS: (1) does Bliz provide a way to reference a specific WrappedScript, and (2) if not how would you remove the script if you needed to?

Right now, I cry, and loopingly SecureHandlerUnwrapScript(self, "OnClick") until I find the one, then restore the others I had needlessly stripped while groping the Frame in a blind, hamfisted search. Am I overlooking something?
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » SecureHandlerUnwrapScript


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off