Objects the controll widgets?
Tuesday, March 11, 2008 by RobJK | Discussion: DesktopX
I want to make a simple object that contols a widjet. I set the object to Widjet control? It says under it that I can have it controll stand alone widgets and minimize them via the object. I dont know how make it work? I just want to be able to click the object and minimize the widget or all widgets that I have open and then click it again and Amximaize them? Is this possible or am I misunderstanding it? Do I have to enter a script and if so can you post it for me? Thanks Much!
Robby
Reply #2 Wednesday, March 12, 2008 2:08 AM
Reply #3 Wednesday, March 12, 2008 3:10 AM
Now go over to the Widget you wish to control. Right click on the main image, typically the background and select properties. In the properties window select the "relation" tab, in "popup:" change the drop down menu to Toggle. Now select the summary tab. In "Object ID" at the very bottom it lists a name for the background this "name" needs to be selected in the controler Objects "target object name or group name" drop down menu.
Press ok in the object controllers sub window and apply in the main configuration window and close it.
Now go back to the widgets configuration window and press apply and close. Now the widget visibility will toggle with the controllers button. Remember to save the controller and the widget. The widget must be saved, as you have changed its configurations and it will not work on the actual widget without DX, untill you save it as that widget.
now your button will toggle the visibility of the widget ...
Hope this helps
Reply #4 Wednesday, March 12, 2008 6:26 AM
Reply #5 Wednesday, March 12, 2008 10:30 AM
OOPs my bad. Read and posted at like 2:00am lol.
Well If toggling visibility is not desired, I'll try to get the instructions to toggling the min\restore up later after i've gotten a bit more shut eye.
Reply #6 Wednesday, March 12, 2008 7:30 PM
I've tried to address this question. Some important points. The best way to learn is by taking a working widget(note not a fully compiled gadget) that has a minimize button, importing it into DesktopX Builder and seeing how it works. Note once you import the widget into DesktopX Builder the actual widget minimize and close abilites no longer actually work. I know that may seem a bit confusing but, that's the way it is. This is because they have to be exported as widgets for those functions to work. I mentioned in my above posts giving your widget a name on the Properties summary tab because that's what links your widget minimize button to the widget. You will see this in all existing widgets that have a working widget minimize or close button.
Not to plug my own work but, I do have a working widget with working widget close and minimize buttons that can be imported into Builder for your examination. That is my Azenis2 Player widget. There are many other fine examples widgets for you to choose from. That's how I learned about widgets.
To have one button that minimizes a group of widets requires scripting. The WIKI link I gave you above can take you to DesktopX and then Tutorials. You can give that a try as well there are many fine scripting tutorials for you to learn from. Finally I found by downloading jef's DesktopX themes and working with them, including the scripts, that I became better with DesktopX. So, I think this should help.
Reply #7 Wednesday, March 12, 2008 11:29 PM
Reply #8 Thursday, March 13, 2008 2:17 AM
Reply #9 Thursday, March 13, 2008 2:59 AM
Reply #10 Thursday, March 13, 2008 3:27 AM
Reply #11 Thursday, March 13, 2008 9:25 PM
Reply #13 Monday, March 17, 2008 12:07 AM
Reply #14 Wednesday, March 19, 2008 3:35 AM
Remember in your Comments section to detail how to clone and remove them. This will allow new users to more easily to know how to use them easily.
hope this helps
Reply #15 Wednesday, March 19, 2008 3:49 AM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Tuesday, March 11, 2008 7:08 PM