XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently March 28th, 2024, 4:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multiple windows
PostPosted: November 19th, 2014, 12:15 pm 
Offline

Joined: November 9th, 2014, 12:23 am
Posts: 12
At the moment a widget is a single window with a bunch of layers/objects in it.
Is there a way to have another window in a widget?

My issue is that I'd like two 'objects' to be able to be moved around by the user independently.
At the moment to do this I could have 2 layers and set up some scripting to control dragging them around, but when I hit the edge of the widget 'window' they get clipped. I'd like them to be able to moved to any position, anywhere on the desktop, independent of each other.


Top
 Profile  
 
 Post subject: Re: Multiple windows
PostPosted: November 19th, 2014, 11:12 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
at the moment, you can do this:
1. set the widget's dimensions to fullscreen (Desktop's Dimensions) through script code
2. set the widget to lockposition
3. now you can control moving of objects through script, and they wouldn't get clipped

it's not the best option, but it will work for now


==========

you can also make 2 widgets and use msg() function to have relationship between them but working individually,

for me, it's a little complicated this way,
but it's up to you


Top
 Profile  
 
 Post subject: Re: Multiple windows
PostPosted: November 20th, 2014, 7:00 pm 
Offline

Joined: November 9th, 2014, 12:23 am
Posts: 12
yep. I think being able to define multiple 'root' objects (windows) in a single widget will end up being extremely useful. Otherwise one full screen window with contents constantly changing is the only convenient solution. It would be slower performance I would think working in a full screen window. Not to mention this makes it harder to move objects around multi screen monitors. Thanks for the suggestions anyway, already my solutions I came up with too ;-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot] and 64 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group