Package dbus :: Module gi_service :: Class ExportedGObject
[hide private]
[frames] | no frames]

Class ExportedGObject

source code

         object --+            
                  |            
         ??.GObject --+        
                      |        
            ??.Object-3 --+    
                          |    
gi.overrides.GObject.Object --+
                              |
             object --+       |
                      |       |
      service.Interface --+   |
                          |   |
             service.Object --+
                              |
                             ExportedGObject

A GObject which is exported on the D-Bus.
Instance Methods [hide private]
 
__init__(self, conn=None, object_path=None, **kwargs)
Initialize an exported GObject.
source code

Inherited from gi.overrides.GObject.Object: __copy__, __deepcopy__, bind_property, bind_property_full, chain, compat_control, connect, connect_after, connect_data, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, force_floating, freeze_notify, get_data, get_properties, get_property, get_qdata, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, interface_find_property, interface_install_property, interface_list_properties, notify_by_pspec, ref, ref_sink, replace_data, replace_qdata, run_dispose, set_data, set_properties, set_property, steal_data, steal_qdata, stop_emission, stop_emission_by_name, unref, watch_closure, weak_ref

Inherited from gi.overrides.GObject.Object (private): _unsupported_data_method, _unsupported_method

Inherited from unreachable.GObject: __delattr__, __eq__, __gdoc__, __ge__, __gt__, __hash__, __le__, __lt__, __ne__, __new__, __repr__, __setattr__, props

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

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

Inherited from object: __format__, __getattribute__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unreachable.Object: find_property, install_properties, install_property, list_properties, override_property

Class Variables [hide private]
  __gtype__ = <GType dbus+gi_service+ExportedGObject (24113712)>

Inherited from gi.overrides.GObject.Object (private): _force_floating, _ref, _ref_sink, _unref

Inherited from unreachable.Object: __gsignals__, __info__, is_floating, new, notify, thaw_notify

Inherited from service.Object: SUPPORTS_MULTIPLE_CONNECTIONS, SUPPORTS_MULTIPLE_OBJECT_PATHS

Inherited from service.Interface (private): _dbus_class_table

Instance Variables [hide private]
Properties [hide private]

Inherited from unreachable.Object: g_type_instance, qdata, ref_count

Inherited from unreachable.GObject: __gpointer__, __grefcount__

Inherited from service.Object: __dbus_object_path__, connection, locations

Inherited from object: __class__

Method Details [hide private]

__init__(self, conn=None, object_path=None, **kwargs)
(Constructor)

source code 
Initialize an exported GObject.
Parameters:
  • conn (dbus.connection.Connection) - The D-Bus connection or bus
  • object_path (str) - The object path at which to register this object.
  • bus_name (dbus.service.BusName) - A bus name to be held on behalf of this object, or None.
  • gobject_properties (dict) - GObject properties to be set on the constructed object.

    Any unrecognised keyword arguments will also be interpreted as GObject properties.

Overrides: object.__init__