Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.

MarkKnown

Travis edited this page Jul 8, 2018 · 3 revisions

Creates a button that allows re-categorizing the entire New category's slots, marking them as "known" items.

Example:

local Bags = LibContainer:New('bags', 'MyBags')
Bags:SetPoint('CENTER')
Bags:On('PostCreateContainer', function(Container)
    local MarkKnown = Container:AddWidget('MarkKnown')
    MarkKnown:SetPoint('TOPRIGHT')
    MarkKnown:SetSize(20, 20)
    MarkKnown:SetTexture(...)
end)
Clone this wiki locally