Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-15-21, 06:21 PM   #1
Darkonode
A Murloc Raider
 
Darkonode's Avatar
Join Date: May 2021
Posts: 8
New author requiring aid for their first addon

I've been learning addon coding for a few days now. Especially i've been looking through this video series on youtube.
https://www.youtube.com/watch?v=nfaE...ZBM2t1exFmoA2G
I'm familiar with Python but I haven't coded with lua before.

I've followed the videos till episode 9 and created a main window and some frames and buttons within it. Now I want to have multiple tabs that have the said frames and buttons in them. The addon stopped loading after I entered the code for the tab creation and I suspect I have errors in how I create the tabs. I can't blindly follow the tutorial video either, since in the tutorial series episode 9 Mayron creates tabs from ScrollFrames, which I don't need. I just want a plain old static frame with stuff on it so I've just used a Frame with no visible elements in it to anchor the other elements to for each tab.

I've debugged before by comparing Mayron's code from the tutorial series' github to my own, but this time I can't seem to figure out what's up.
Attached Files
File Type: lua config.lua (4.9 KB, 110 views)
File Type: lua init.lua (2.6 KB, 105 views)
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » New author requiring aid for their first addon

Thread Tools
Display Modes

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