|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
UI Widgets in loops
So, I tried playing around with UI widets in loops with some pretty erratic behavior. I am supposing it is because the widget is a single reference, and I am basically just updating the attributes of the same reference, instead of the nested behavior I was seeking. I then went back and read the docs again, and saw it pretty clearly stated that you cannot use a UI widget in a loop.
Has anyone found a workaround for this? Can I just add UI widgets in loop if I do it from my own code? EDIT: I think I see how, if I return an Array of Strings, I can put a table under the Array and it will created a table of whatever elements I put under it automatically. I haven't been able to try it yet, but that's what it looks like the search functions for shows, actors, etc are doing. Any other workaround advice is welcomed too. TIA for the advice, DwarF
__________________
Software: Sage v4.1, Girder v3.3, Windows XP, AC3Filter, IRTrans, WinAmp The Goods: Hauppauge 500 MCE, Gigabyte nVIDIA GeForce 6600 GT SLI, Asus A8N-E, AMD 64 3200+ "Venice", 1Gig DDR 400, HP dvd740i, Seasonic 12 330, OrigenAE X11, Windows MCE remote, Duct tape Last edited by DwarF; 01-24-2006 at 01:00 AM. |
#2
|
||||
|
||||
I suggest you work through the tutorial, which explains tables pretty well.
__________________
-- Greg |
#3
|
||||
|
||||
also: previous post about loops
summary: only multiple instances of shapes can be generated by loops -- other UI widgets cause interesting behaviour. Tables are used to generate multiple UI widget trees for each item in an array/list, and are probably what you want.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#4
|
|||
|
|||
I did read through the tutorial and the manual. I did understand what they said. I was asking the community if they had found another way to get some more complex nesting behavior.
I know you guys provide a lot of feedback into the community, and I appriciate your efforts on your own projects, and in answering my question. However, RTFM responses come off a bit condescending when the original question mentions having already learned that from the manual, tutorials and practical experience of trial and painful error. DwarF
__________________
Software: Sage v4.1, Girder v3.3, Windows XP, AC3Filter, IRTrans, WinAmp The Goods: Hauppauge 500 MCE, Gigabyte nVIDIA GeForce 6600 GT SLI, Asus A8N-E, AMD 64 3200+ "Venice", 1Gig DDR 400, HP dvd740i, Seasonic 12 330, OrigenAE X11, Windows MCE remote, Duct tape |
#5
|
||||
|
||||
Tables are pretty much it... and I figured that they were reinforcing that there really isn't another useful/easy to use solution, since the question seemed to indicate that you still weren't sure that tables were the way to go if you can't have UI widgets in loops. Unless someone actually says it in a negative way, I count "RTFM" comments as pointers in the direction to go, not condescending subtle insults... I use manual/doc references all the time w/o intending it to mean the person is an idiot for not finding/confirming the info themselves.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#6
|
|||
|
|||
Yup. You're right. Sorry for being such a sensitive weenie.
__________________
Software: Sage v4.1, Girder v3.3, Windows XP, AC3Filter, IRTrans, WinAmp The Goods: Hauppauge 500 MCE, Gigabyte nVIDIA GeForce 6600 GT SLI, Asus A8N-E, AMD 64 3200+ "Venice", 1Gig DDR 400, HP dvd740i, Seasonic 12 330, OrigenAE X11, Windows MCE remote, Duct tape |
#7
|
||||
|
||||
My reading of your first post was that you had not yet had any hands-on experience with tables (which you would have if you had done the tutorial exercises). Sorry if I got it wrong.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|