| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
Synopsis
#define NM_OBJECT_DBUS_CONNECTION #define NM_OBJECT_DBUS_PATH NMObject; NMObjectClass; DBusGConnection * nm_object_get_connection (NMObject *object); const char * nm_object_get_path (NMObject *object);
Object Hierarchy
GObject +----NMObject +----NMClient +----NMDevice +----NMAccessPoint +----NMIP4Config +----NMIP6Config +----NMActiveConnection +----NMDHCP4Config +----NMDHCP6Config
Properties
"dbus-connection" DBusGConnection* : Read / Write / Construct Only "dbus-path" gchar* : Read / Write / Construct Only
Details
NMObjectClass
typedef struct {
GObjectClass parent;
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
void (*_reserved3) (void);
void (*_reserved4) (void);
void (*_reserved5) (void);
void (*_reserved6) (void);
} NMObjectClass;
nm_object_get_connection ()
DBusGConnection * nm_object_get_connection (NMObject *object);
Gets the NMObject's DBusGConnection.
|
a NMObject |
Returns : |
the connection |
Property Details
The "dbus-connection" property
"dbus-connection" DBusGConnection* : Read / Write / Construct Only
Connection.
The "dbus-path" property
"dbus-path" gchar* : Read / Write / Construct Only
DBus Object Path.
Default value: NULL
