XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Multiple windows https://www.bbs.xwidget.com/viewtopic.php?f=8&t=5279 |
Page 1 of 1 |
Author: | Skarn [ November 19th, 2014, 12:15 pm ] |
Post subject: | Multiple windows |
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. |
Author: | hamid [ November 19th, 2014, 11:12 pm ] |
Post subject: | Re: Multiple windows |
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 |
Author: | Skarn [ November 20th, 2014, 7:00 pm ] |
Post subject: | Re: Multiple windows |
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 ![]() |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |