[DiscordArchive] Should I just remove it from the OnLoad and see what happens?
[DiscordArchive] Should I just remove it from the OnLoad and see what happens?
Archived author: robinsch • Posted: 2024-01-29T09:57:53.028000+00:00
Original source
frame:SetScript("OnLoad", your_fn);
Archived author: Nix • Posted: 2024-01-29T09:57:55.677000+00:00
Original source
Isn't that just what you said tho
Archived author: Nix • Posted: 2024-01-29T09:58:00.255000+00:00
Original source
Ye exactly
Archived author: ReynoldsCahoon • Posted: 2024-01-29T09:58:09.120000+00:00
Original source
I feel like I need to buy one of those wow programming books <:kekw:1115251543751532674>
Archived author: robinsch • Posted: 2024-01-29T09:58:12.993000+00:00
Original source
frame event != function
Archived author: robinsch • Posted: 2024-01-29T09:58:26.825000+00:00
Original source
frame events are UI event such as `ON_ADDON_LOADED`
Archived author: robinsch • Posted: 2024-01-29T09:59:02.337000+00:00
Original source
What I would really suggest you is instead of looking at addons, look at the default UI code from Blizzard
Archived author: Nix • Posted: 2024-01-29T09:59:04.413000+00:00
Original source
Okay not what I was referring to but that's fine
Archived author: robinsch • Posted: 2024-01-29T09:59:34.130000+00:00
Original source
The code is so much better than some random guy writing an addon
Archived author: robinsch • Posted: 2024-01-29T10:00:26.307000+00:00
Original source
And using `.xml` for your view and `.lua` for your logic.