o t3b @sfdZdgZddlmZddlZGdddejjejjZ d ddZ d Z e dejejj fe e d Z dS) z6Support code for implementing D-Bus services via PyGI.ExportedGObject)GObjectNc@seZdZdZddZdS)ExportedGObjectTypezA metaclass which inherits from both GObjectMeta and `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`. cCs,tjj||||tjj||||dS)N)r __class____init__dbusservice InterfaceType)clsnamebasesdctr1/usr/lib/python3/dist-packages/dbus/gi_service.pyr.szExportedGObjectType.__init__N)__name__ __module__ __qualname____doc__rrrrrr*s rcKsX|dd}|dd}|dur||tjj|fi|tjjj||||ddS)a: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. :Keywords: `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. bus_nameNgobject_properties)conn object_pathr)popupdaterrrrObject)selfrrkwargsrrrrrExportedGObject__init__3s     rz' A GObject which is exported on D-Bus. )rr)NN)r__all__ gi.repositoryr dbus.servicerrrr rrExportedGObject__doc__rrrrrrs