-
-
Save anonymous/bfe9d83596765db97af3 to your computer and use it in GitHub Desktop.
ws-form-position-auto-persistence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function <YOUR_ADDON_NAME>:Init() | |
-- ... | |
Apollo.RegisterEventHandler("WindowManagementReady", "OnWindowManagementReady", self) -- impotant: needs to be within Init()! | |
end | |
function <YOUR_ADDON_NAME>:OnWindowManagementReady() | |
Event_FireGenericEvent("WindowManagementRegister", {strName = "<YOUR_ADDON_NAME_FRAME_NAME>", nSaveVersion=1}) | |
Event_FireGenericEvent("WindowManagementAdd", {wnd = self.wndMain, strName = "<YOUR_ADDON_NAME_FRAME_NAME>", nSaveVersion=1}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment