Package gwibber :: Package microblog :: Module dispatcher :: Class MessagesMonitor
[hide private]
[frames] | no frames]

Class MessagesMonitor

source code

            object --+        
                     |        
dbus.service.Interface --+    
                         |    
       dbus.service.Object --+
                             |
                            MessagesMonitor

Nested Classes [hide private]

Inherited from dbus.service.Interface: __metaclass__

Instance Methods [hide private]
 
__init__(self)
Constructor. Either conn or bus_name is required; object_path is also required.
source code
 
on_message_updated(self, monitor, id) source code
 
MessageUpdated(self, *args, **keywords)
 
on_indicator_activate(self, indicator, timestamp) source code
 
on_indicator_reply_activate(self, indicator, timestamp) source code
 
handle_focus_reply(self, *args) source code
 
handle_focus_error(self, *args) source code
 
new_message(self, message) source code
 
handle_indicator_item(self, message) source code
 
show_notification_bubble(self, message) source code

Inherited from dbus.service.Object: Introspect, __repr__, __str__, add_to_connection, remove_from_connection

Inherited from dbus.service.Object (private): _message_cb, _unregister_cb

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  __dbus_object_path__ = '/com/gwibber/Messages'
The object-path at which this object is available. Access raises AttributeError if there is no object path, or more than one object path.

Inherited from dbus.service.Object: SUPPORTS_MULTIPLE_CONNECTIONS, SUPPORTS_MULTIPLE_OBJECT_PATHS

Inherited from dbus.service.Interface (private): _dbus_class_table

Properties [hide private]

Inherited from dbus.service.Object: connection, locations

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Constructor. Either conn or bus_name is required; object_path is also required.
Parameters:
  • conn - The connection on which to export this object.

    If None, use the Bus associated with the given bus_name. If there is no bus_name either, the object is not initially available on any Connection.

    For backwards compatibility, if an instance of dbus.service.BusName is passed as the first parameter, this is equivalent to passing its associated Bus as conn, and passing the BusName itself as bus_name.

  • object_path - A D-Bus object path at which to make this Object available immediately. If this is not None, a conn or bus_name must also be provided.
  • bus_name - Represents a well-known name claimed by this process. A reference to the BusName object will be held by this Object, preventing the name from being released during this Object's lifetime (unless it's released manually).
Overrides: object.__init__
(inherited documentation)

MessageUpdated(self, *args, **keywords)

 
Decorators:
  • @dbus.service.signal("com.Gwibber.Messages", signature= "s")