awesome API documentation

# Module `dbus`

awesome D-Bus API

### Info:

- Copyright: 2008-2009 Julien Danjou
- Author: Julien Danjou <julien@danjou.info>

## Functions

request_name (bus, name) | Register a D-Bus name to receive message from.
release_name (bus, name) | Release a D-Bus name.
add_match (bus, name) | Add a match rule to match messages going through the message bus.
remove_match (bus, name) | Remove a previously added match rule "by value" (the most recently-added identical rule gets removed).
connect_signal (interface, func) | Add a signal receiver on the D-Bus.
disconnect_signal (interface, func) | Remove a signal receiver on the D-Bus.

## Functions

request_name (bus, name)
  Register a D-Bus name to receive message from.

  ### Parameters:

  - bus A string indicating if we are using system or session bus.
  - name A string with the name of the D-Bus name to register.

  ### Returns:

  True if everything worked fine, false otherwise.
release_name (bus, name)
  Release a D-Bus name.

  ### Parameters:

  - bus A string indicating if we are using system or session bus.
  - name A string with the name of the D-Bus name to unregister.

  ### Returns:

  True if everything worked fine, false otherwise.
add_match (bus, name)
  Add a match rule to match messages going through the message bus.

  ### Parameters:

  - bus A string indicating if we are using system or session bus.
  - name A string with the name of the match rule.
remove_match (bus, name)
  Remove a previously added match rule "by value" (the most recently-added identical rule gets removed).

  ### Parameters:

  - bus A string indicating if we are using system or session bus.
  - name A string with the name of the match rule.
connect_signal (interface, func)
  Add a signal receiver on the D-Bus.

  ### Parameters:

  - interface A string with the interface name.
  - func The function to call.
disconnect_signal (interface, func)
  Remove a signal receiver on the D-Bus.

  ### Parameters:

  - interface A string with the interface name.
  - func The function to call.

generated by LDoc 1.4.3 Last updated 2016-03-11 18:00:15