XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Jun 27日 06:07

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2016年 Mar 11日 04:58 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 484
This post is a request for more information from the netMonitor Core.

I am used to being able to extract information pertaining to the state of the wireless traffic, for example:

system.wireless.available

Description
The available attribute returns a Boolean true/false value that corresponds to the availability of the
wireless device capable of connecting to a network.

This functionality is not available in Xwidget From a glance as to what the netMonitor core has to offer it seems that it has no %false or %true tag and does not differentiate between wireless and LAN networks. The request is to provide such information as part of the netmonitor core.

I am trying to enable the red/green lamps on this widget to signify wireless connectivity/disconnect state in this widget:

Image


Top
 Profile  
 
PostPosted: 2016年 May 20日 00:46 
Offline
User avatar

Joined: 2013年 Mar 8日 22:27
Posts: 352
The best way to check Internet availability is to do a http request to a website. Even the net monitor doesn't work for me anymore. I do virtualization and I have a virtual network that starts up at boot time. Xwidget always monitors the virtual traffic.

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
PostPosted: 2016年 May 20日 05:19 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 484
Very good idea of course, just a bit of an overhead to call a timer to run an http request, then check it for validity. That could take valuable time/processor and could return an icorrect value on occasion. I just think a call to the core (that should be doing the check on a regular interval anyway) would be more efficient and a lot more elegant. I often compare Xwidget to other engines and see what exactly it is lacking.


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: No registered users and 2 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:  
cron

Powered by phpBB® Forum Software © phpBB Group