XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Nov 24日 01:21

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2017年 Sep 6日 03:59 
Online
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 572
In the main.xul file a windows is defined as follows:

Code:
<window type="widget" height="700" width="964" swimKeepOnScreen="true" onClose="widgetOnClose" onLoad="widgetOnLoad" onLeave="widgetOnLeave" onEnter="widgetOnEnter" onMove="widgetOnMove">


In other engines it is possible to define several windows within the same widget. For example you can create one window for the widget and another for a help or data screen.

Code:
<widget   minimumVersion="4.5" >
   <window name="mainWindow"
           .
           .
           .
   </window>

   <window name="dataWindow"
           .
           .
           .
   </window>
</widget>


I have a moon widget that uses this displaying an image of the current phase of the moon and allowing a separate panel that displays phase data. That second panel can be moved all over the desktop and is not constrained by the dimensions of the original widget.

So, to my original question. I tried to discover whether there was a method by which you can create a second window within an Xwidget and it appears there is not. If think this is another limitation on the Xwidget engine, it only has one window which is, in fact the widget itself. A severe limitation that prevents you having freely moveable layers that can be moved around the desktop independently.

Feature Request: Allow adding of a new window to a widget that can be moved independently beyond the defined boundaries of the base widget.


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: Yahoo [Bot] and 10 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