-
Notifications
You must be signed in to change notification settings - Fork 0
Widgets
Co2Noss edited this page Aug 26, 2026
·
1 revision
Other addons can pin a Dashboard tile after Lodestar loads. Lodestar does not scrape other addons' frames.
Lodestar:RegisterWidget({
id = "myaddon_foo",
title = "Foo",
defaultSize = "half", -- or defaultW / defaultH in canvas cells
available = function(self)
-- optional; return false to keep the tile out of the add list
return true
end,
render = function(self, parent, width)
-- parent is a frame; return the height you used
return 40
end,
})id and title are required. render is required. Re-registering the same id replaces the spec.
The canvas is 12 columns by 18 rows. Minimum tile is 3 × 2. defaultSize = "half" starts at 6 × 4; anything else starts at 12 × 4 unless you set defaultW / defaultH.
Players can still drag and resize. Tiles cannot overlap.
Gold and rares stay off the add list until their addon is actually there. Use available the same way: return false until your data exists. Stay quiet rather than inventing prices, coordinates, or quest IDs.
Start here
The plan
The window
Developers