WoW LibGridview addon Dragonflight/Wrath of the Lich King Classic 2024
logo
wow addon LibGridview

LibGridview

Game Version: 3.4.1
Total Downloads: 20
Updated: Jan 30, 2023
Created: Jan 30, 2023
download LibGridviewDownload
download LibGridview classic 1.14.3Download
for Classic WotLK
Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
LibGridview-0.5 release 3.23 KB Jan 30, 2023 3.4.1 16 download LibGridview LibGridview-0.5 releaseDownload
LibGridview-0.3 release 3.24 KB Jan 30, 2023 3.4.1 4 download LibGridview LibGridview-0.3 releaseDownload

Description

Share this:

LibGridview isnt an addon and is intended to be used as a UI lib for other addons who want to make use of a gridview.

 

Example:

 

local name, addon = …;

— get a ref to the lib
local LibGridview = addon.LibGridview;

— create the gridview
local gridview = LibGridview:CreateGridview(parent)

— init the frame pool passing in the frame type and template name
gridview:InitFramePool(“FRAME”, “GridviewItemTemplate”)

— set the min/max item sizes
gridview:SetMinMaxSize(300, 400)

— create an item to add
local item = {
    title = “foo”,
}

— add the item to the gridview
gridview:Insert(item)

Comments

Add a comment