Class

AstalNetworkWifi

Description

class AstalNetwork.Wifi : GObject.Object
{
  /* No available fields */
}

Proxy for the main wireless device.

Ancestors

Instance methods

astal_network_wifi_scan

Request a scan for access points. Does nothing while a scan is already in progress or when there is no device.

astal_network_wifi_deactivate_connection

Disconnect the active connection of the device.

astal_network_wifi_get_device
No description available.

astal_network_wifi_get_active_connection
No description available.

astal_network_wifi_get_active_access_point
No description available.

astal_network_wifi_get_access_points
No description available.

astal_network_wifi_get_enabled
No description available.

astal_network_wifi_set_enabled
No description available.

astal_network_wifi_get_internet
No description available.

astal_network_wifi_get_bandwidth
No description available.

astal_network_wifi_get_ssid
No description available.

astal_network_wifi_get_strength
No description available.

astal_network_wifi_get_frequency
No description available.

astal_network_wifi_get_state
No description available.

astal_network_wifi_get_icon_name
No description available.

astal_network_wifi_get_is_hotspot
No description available.

astal_network_wifi_get_scanning
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalNetwork.Wifi:device

The underlying wireless device, null when there is none.

AstalNetwork.Wifi:active-connection

The active connection of the device.

AstalNetwork.Wifi:active-access-point

The access point the device is connected to.

AstalNetwork.Wifi:access-points

The access points the device can see. Access points without an ssid, such as hidden networks, are not listed.

AstalNetwork.Wifi:enabled

Whether wireless is enabled.

AstalNetwork.Wifi:internet

The state of the active connection.

AstalNetwork.Wifi:bandwidth

The channel bandwidth of the active access point in MHz.

AstalNetwork.Wifi:ssid

The ssid of the active access point.

AstalNetwork.Wifi:strength

The signal strength of the active access point in percent.

AstalNetwork.Wifi:frequency

The frequency of the active access point in MHz.

AstalNetwork.Wifi:state

The state of the device.

AstalNetwork.Wifi:icon-name

Icon name representing the state and signal strength of the connection.

AstalNetwork.Wifi:is-hotspot

Whether the device is sharing its connection as a hotspot.

AstalNetwork.Wifi:scanning

Whether a scan requested with astal_network_wifi_scan() is in progress.

Signals

AstalNetwork.Wifi::access-point-added

Emitted when an access point becomes visible.

AstalNetwork.Wifi::access-point-removed

Emitted when an access point is no longer visible.

AstalNetwork.Wifi::state-changed

Emitted when the state of the device changes.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalNetworkWifiClass {
  void (* wifi_access_point_added) (
    AstalNetworkWifi* self,
    AstalNetworkAccessPoint* ap
  );
  void (* wifi_access_point_removed) (
    AstalNetworkWifi* self,
    AstalNetworkAccessPoint* ap
  );
  
}

No description available.

Class members
access_point_added: void (* wifi_access_point_added) ( AstalNetworkWifi* self, AstalNetworkAccessPoint* ap )

No description available.

access_point_removed: void (* wifi_access_point_removed) ( AstalNetworkWifi* self, AstalNetworkAccessPoint* ap )

No description available.