Thread Tools Display Modes
01-01-14, 10:27 AM   #1
Hellyeah2
A Murloc Raider
Join Date: Dec 2011
Posts: 5
Making Tabs with Kgpanels

Is it possible and if so how?
Or any other method you can suggest I will appreciate it.
Thank you.
  Reply With Quote
01-01-14, 12:58 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Um... sure?

What kind of tabs? Where? What do you want them to do?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
01-01-14, 02:00 PM   #3
Hellyeah2
A Murloc Raider
Join Date: Dec 2011
Posts: 5
Hi, let's say that by clicking tabs different info appears in the same panel (recount, omen, etc).
I know I can probably show/hide them individually with a macro, but this method perhaps gets a bit complicated if I want to use it with 10 or more addons.
  Reply With Quote
01-02-14, 08:25 AM   #4
Hellyeah2
A Murloc Raider
Join Date: Dec 2011
Posts: 5
Originally Posted by Seerah View Post
Um... sure?

What kind of tabs? Where? What do you want them to do?
You still there bro?
  Reply With Quote
01-02-14, 11:10 AM   #5
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
A tab uis essentially just a button (or in kgPanels terms, a clickable frame) that when clicked hides a bunch of non-realted stuf and un-hides a bunch of related stuff. You just have to know what to :Show()/:Hide() when each "tab" is clicked.

Originally Posted by Hellyeah2 View Post
You still there bro?
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote
01-02-14, 11:58 AM   #6
Hellyeah2
A Murloc Raider
Join Date: Dec 2011
Posts: 5
Originally Posted by Fizzlemizz View Post
A tab uis essentially just a button (or in kgPanels terms, a clickable frame) that when clicked hides a bunch of non-realted stuf and un-hides a bunch of related stuff. You just have to know what to :Show()/:Hide() when each "tab" is clicked.
As I said in my last message, it gets tedious when you have to do that for several addons.
That's why I'm looking for something that handle this itself.
  Reply With Quote
01-02-14, 12:44 PM   #7
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
You still have to write the code for all of it, same as you would for using macros.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
01-02-14, 02:35 PM   #8
Hellyeah2
A Murloc Raider
Join Date: Dec 2011
Posts: 5
Originally Posted by Seerah View Post
You still have to write the code for all of it, same as you would for using macros.
Maybe I wasn't clear enough.
I'm not asking how to code an addon, but if someone knows one for this purpose.
Thanks.
  Reply With Quote
01-02-14, 07:52 PM   #9
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
You weren't clear at all. You asked how to make "tabs" using kgPanels. That's not even close to the same thing as asking if there's an addon that's pre-configured to act as a tabbed panel container.

But to answer your new question, no, there is no addon that's pre-configured to act as a tabbed panel container. Everyone who wants this functionality just hard-codes it, since it's really dependent on what you want each tab to show, etc. and how you want everything to look. A pre-made addon would be about 20 lines of code for the addon, and then 100,000 lines of code for an options GUI -- it's way more efficient to just hard-code it yourself.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Making Tabs with Kgpanels


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off