Quantcast
WoWInterface - View Single Post - 8.1.5 ItemButtonTemplate Changes
View Single Post
03-13-19, 12:34 PM   #11
Zam89
A Deviate Faerie Dragon
Join Date: Mar 2019
Posts: 18
Thanks.

Here is the Code to create this:

Code:
if _G["gwPaperDollBagSlotButton" .. i] ~= nil then
        return _G["gwPaperDollBagSlotButton" .. i]
    end

    local f = CreateFrame("Button", "gwPaperDollBagSlotButton" .. i, GwPaperDollBagItemList, "GwPaperDollBagItem")
Code:
 <ItemButton name="GwPaperDollBagItem" registerForClicks="LeftButtonDown, RightButtonDown" inherits="GwPaperDollButtonTemplate" virtual="true"/>
any idea?
  Reply With Quote