Create panels for customizing your UI, sucessor to eePanels

Wiki and FAQ

Sample Scripts

OnClick now provides a pressed and released variable you can check for.

if pressed then
  -- do mouse down actions
elseif released then
  -- do mouse up actions

This means your script will get called twice when someone clicks the panel.

Here is a youtube link to a video Tutorial

Ive created an Example Texture Pack.

This example pack is just a template. If you want to use it as a storage spot for your art, look at the read me file for directions on usage.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Kuzah Kuzah Aug 26, 2009 at 05:26 UTC - 0 likes

    A different topic at hand.

    Was wondering if there was some way to nudge or resize a kgpanel that has been made to auto adjust via "Resizing your panel on the fly" from the FAQ.

    Like if I use kgpanel for all my tooltips I would like to be able to nudge the kgpanel for all tooltips and/or be able to give it a smaller or larger size than what it is now. I'm guessing I could mess with the "self:SetWidth(DropDownList1:GetWidth())" and "self:SetHeight(DropDownList1:GetHeight())", but I haven't a clue what to do.

  • Avatar of Kuzah Kuzah Aug 26, 2009 at 04:30 UTC - 0 likes

    I was wondering if someone could help me identify a certain frame.

    A quick summary: Hidden all tooltips via TipTac. Made kgpanels for each tooltip. Made a panel for GameTooltip, ItemRefTooltip, ShoppingTooltip1, ShoppingTooltip2, and ShoppingTooltip3.

    Problem: Auditor's tooltip does not show any kgpanels, but if I add a background back to TipTac's options Auditor shows a background. I tried using kgpanel frame finder and get this: Frames, WorldFrame, UIParent, Unknown (5 times). I tried using the macro "/run DEFAULT_CHAT_FRAME:AddMessage(GetMouseFocus():GetName())" it returns only WorldFrame.

    Auditor's author mentioned that the addon uses LibQTip. Thought it was worth mentioning.

  • Avatar of sirspikey sirspikey Aug 24, 2009 at 20:25 UTC - 0 likes

    @Finmakin For each panel you want to respond, put this :

    In each Panel set the OnLoad script


    Then in each Panel OnEvent script:

     local pmems = GetNumPartyMembers()
     if (pmems < 1) or (pmems > 0 and pmems < 6) then
  • Avatar of Finmakin Finmakin Aug 24, 2009 at 16:40 UTC - 0 likes

    First of all.... Nice addon I have played with it and have setup a nice UI with it.. But have a question regarding scripts.. (I am a totally noob with scripts).

    What is am looking for ?

    I have placed the (group) kg panels on the same spot as where the Unit frames appearing when people join the group, what i like to get is that screen is empty from these panels and that they are loading automaticly when a player enter the group. I believe that can be done on onload.. not sure.

    pls help me out tnx

    Last edited Aug 24, 2009 by Finmakin
  • Avatar of sirspikey sirspikey Aug 13, 2009 at 19:47 UTC - 0 likes

    Hi, excellent addon btw :)

    I was wondering:

    I'm trying to make the healthbar look like it rises from some other part off my ui, when i target someone or entering combat. I got all the other stuff working in the script but can't find out haw to access the objects (HPBar) coordinates from the scripting in kgpanels.

    Tried stuff like<panelname>.test.absolute_bg.URx self:setoffset

    Don't know what to call for and where i should insert the new cords.

    Last edited Aug 13, 2009 by sirspikey
  • Avatar of kagaro kagaro Aug 08, 2009 at 12:39 UTC - 0 likes

    ill look at see if there was some other api change causing the issue.

  • Avatar of BlackDespondency BlackDespondency Aug 08, 2009 at 05:44 UTC - 0 likes

    Hey kagero - I have seen a couple of your posts on pitbull4 threads, but i have a question about the linking of kgPanles to the show and hide of the pitbull frames. This is in an effort to remove the lag present when using the normal RegisterEvent process.

    Any insights? Googled the hell out of it and cant find any hooks to pitbull.

  • Avatar of doriginal1 doriginal1 Aug 07, 2009 at 17:59 UTC - 0 likes

    Hi, I posted an issue on curse Im having and today's update didn't fix it unfortunately. I have two panels that are parented to My Unit frames, for some reason the panel with Background strata is appearing over the panel with Low strata. This gets fixed temporarily by quickly adjusting the background panel's level from 0 to 20 then back to 0. But when I relog the strata goes back to cover the low strata panel.

    Is this a known issue after 3.2, because my settings have not changed and it worked before the patch. I have tried everything, re parenting, diff stratas, and new panels. I dont know what else to do to fix it. Any ideas? Thanks so much for any help.

  • Avatar of kagaro kagaro Aug 07, 2009 at 11:48 UTC - 0 likes

    if you getting a big framerate drop its most likely a script your using. after the panels are loaded kgpanels uses no cpu anymore.

  • Avatar of Kuzah Kuzah Aug 07, 2009 at 06:17 UTC - 0 likes

    Is it possible to do something like, if a panel is attached to the chat box, it will be able to shrink with the fading text? So like if all the text is faded out the panel will not be visible.


Date created
Sep 16, 2008
Last update
Jul 19, 2016
Development stage
  • enUS
  • frFR
  • koKR
  • zhCN
All Rights Reserved
Curse link
Reverse relationships
Recent files
  • A: r438 for 7.0.3 Jul 19, 2016
  • A: r437 for 6.2.0 Jun 23, 2015
  • A: r436 for 6.1.0 Feb 24, 2015
  • R: 1.20 for 6.0.2 Oct 24, 2014
  • R: 1.19 for 6.0.2 Oct 17, 2014