|
Cairo-Dock 2.4.0~1
|
Functions | |
| DBusGConnection * | cairo_dock_get_session_connection (void) |
| gboolean | cairo_dock_register_service_name (const gchar *cServiceName) |
| gboolean | cairo_dock_dbus_is_enabled (void) |
| DBusGProxy * | cairo_dock_create_new_session_proxy (const char *name, const char *path, const char *interface) |
| DBusGProxy * | cairo_dock_create_new_system_proxy (const char *name, const char *path, const char *interface) |
| gboolean | cairo_dock_dbus_detect_application (const gchar *cName) |
| gboolean | cairo_dock_dbus_detect_system_application (const gchar *cName) |
| gboolean | cairo_dock_dbus_get_boolean (DBusGProxy *pDbusProxy, const gchar *cAccessor) |
| guint | cairo_dock_dbus_get_uinteger (DBusGProxy *pDbusProxy, const gchar *cAccessor) |
| int | cairo_dock_dbus_get_integer (DBusGProxy *pDbusProxy, const gchar *cAccessor) |
| gchar * | cairo_dock_dbus_get_string (DBusGProxy *pDbusProxy, const gchar *cAccessor) |
| gchar ** | cairo_dock_dbus_get_string_list (DBusGProxy *pDbusProxy, const gchar *cAccessor) |
| guchar * | cairo_dock_dbus_get_uchar (DBusGProxy *pDbusProxy, const gchar *cAccessor) |
| void | cairo_dock_dbus_call (DBusGProxy *pDbusProxy, const gchar *cCommand) |
| void | cairo_dock_dbus_get_property_in_value (DBusGProxy *pDbusProxy, const gchar *cInterface, const gchar *cProperty, GValue *pProperty) |
| deprecated... | |
This class defines numerous convenient functions to use DBus inside Cairo-Dock. DBus is used to communicate and interact with other running applications.
| DBusGConnection* cairo_dock_get_session_connection | ( | void | ) |
Get the connection to the 'session' Bus.
| gboolean cairo_dock_register_service_name | ( | const gchar * | cServiceName | ) |
Register a new service on the session bus.
| cServiceName | name of the service. |
| gboolean cairo_dock_dbus_is_enabled | ( | void | ) |
Say if the bus is available or not.
| DBusGProxy* cairo_dock_create_new_session_proxy | ( | const char * | name, |
| const char * | path, | ||
| const char * | interface | ||
| ) |
Create a new proxy for the 'session' connection.
| name | a name on the bus. |
| path | the path. |
| interface | name of the interface. |
| DBusGProxy* cairo_dock_create_new_system_proxy | ( | const char * | name, |
| const char * | path, | ||
| const char * | interface | ||
| ) |
Create a new proxy for the 'system' connection.
| name | a name on the bus. |
| path | the path. |
| interface | name of the interface. |
| gboolean cairo_dock_dbus_detect_application | ( | const gchar * | cName | ) |
Detect if an application is currently running on Session bus.
| cName | name of the application. |
| gboolean cairo_dock_dbus_detect_system_application | ( | const gchar * | cName | ) |
Detect if an application is currently running on System bus.
| cName | name of the application. |
| gboolean cairo_dock_dbus_get_boolean | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cAccessor | ||
| ) |
Get the value of a 'boolean' parameter on the bus.
| pDbusProxy | proxy to the connection. |
| cAccessor | name of the accessor. |
| guint cairo_dock_dbus_get_uinteger | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cAccessor | ||
| ) |
Get the value of an 'unsigned integer' parameter non signe on the bus.
| pDbusProxy | proxy to the connection. |
| cAccessor | name of the accessor. |
| int cairo_dock_dbus_get_integer | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cAccessor | ||
| ) |
Get the value of a 'integer' parameter on the bus.
| pDbusProxy | proxy to the connection. |
| cAccessor | name of the accessor. |
| gchar* cairo_dock_dbus_get_string | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cAccessor | ||
| ) |
Get the value of a 'string' parameter on the bus.
| pDbusProxy | proxy to the connection. |
| cAccessor | name of the accessor. |
| gchar** cairo_dock_dbus_get_string_list | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cAccessor | ||
| ) |
Get the value of a 'string list' parameter on the bus.
| pDbusProxy | proxy to the connection. |
| cAccessor | name of the accessor. |
| guchar* cairo_dock_dbus_get_uchar | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cAccessor | ||
| ) |
Get the value of an 'unsigned char' parameter on the bus.
| pDbusProxy | proxy to the connection. |
| cAccessor | name of the accessor. |
| void cairo_dock_dbus_call | ( | DBusGProxy * | pDbusProxy, |
| const gchar * | cCommand | ||
| ) |
Call a command on the bus.
| pDbusProxy | proxy to the connection. |
| cCommand | name of the commande. |