Class

AstalNetworkNetwork

Description

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

A simple abstraction over NetworkManager. Exposes the main wifi and wired devices and the overall network state.

Ancestors

Functions

astal_network_network_get_default

Get the singleton instance.

Instance methods

astal_network_network_get_client
No description available.

astal_network_network_get_wifi
No description available.

astal_network_network_get_wired
No description available.

astal_network_network_get_primary
No description available.

astal_network_network_get_connectivity
No description available.

astal_network_network_get_state
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalNetwork.Network:client

The underlying NetworkManager client.

AstalNetwork.Network:wifi

Proxy for the main wireless device. It is always present, its AstalNetworkWifi:device is null when there is no wifi device.

AstalNetwork.Network:wired

Proxy for the main ethernet device. It is always present, its AstalNetworkWired:device is null when there is no ethernet device.

AstalNetwork.Network:primary

The type of the connection NetworkManager uses for the default route.

AstalNetwork.Network:connectivity

The connectivity state.

AstalNetwork.Network:state

The overall networking state.

Signals

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 AstalNetworkNetworkClass {
  /* no available fields */
}

No description available.