Go Back   WowAce Forums > Addon Chat > Frameworks > Ace3
Ace3 Ace3 framework discussion

Reply
 
Thread Tools
Old 09-09-2010   #1
Farmbuyer
Amazing Member
 
Farmbuyer's Avatar
 
Join Date: Feb 2005
Posts: 1,122
Default Other widgets in an options table

Trying to decide how much I can [ab]use the 'dialogControl' field in an options table, or if that's even the best way to go. I'd appreciate feedback.

I've got an options table, with childGroups='tab'. Most of the tabs are the typical UI controls generated from the options table, plus the standard profiles tab. I would like one of the tabs to display a TreeGroup container (populated by hand).

I know that this is outside what AceConfigDialog normally does. I also know that coming at it from the other end, trying to build the equivalent options panels by hand using AceGUI, is going to be tedious and unmaintainable. What I'm hoping is for some way to meet in the middle: let ACD do its usual thing for all but one tab, and then hook into that tab's OnGroupSelected somehow to build that panel myself.

Looking at AceConfigDialog, there doesn't seem to be a way of letting the GroupSelected()->FeedGroup() combo give the caller any direct control. That's understandable.

Stepping out a level and looking at it from an AceGUI viewpoint, there doesn't seem to be any method of grabbing the raw TabGroup container widget and adding my own tab onto the end. Also understandable.

Looking at the problem from inside the options table, the custom dialogControl attribute looks at first to be exactly what I want... except it's only present on (a) individual controls, which (b) are limited to input, select, multiselect.

I have an idea on where to go next, but it's just as disgusting as all the previous approaches would have been if they had been possible. Would like to hear others' thoughts before I continue down this dark path.
Farmbuyer is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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

Forum Jump


All times are GMT. The time now is 10:51 PM.