gi-gio-2.0.12: Gio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.DBusObjectManager

Contents

Description

The DBusObjectManager type is the base type for service- and client-side implementations of the standardized org.freedesktop.DBus.ObjectManager interface.

See DBusObjectManagerClient for the client-side implementation and DBusObjectManagerServer for the service-side implementation.

Synopsis

Exported types

Methods

getInterface

dBusObjectManagerGetInterface Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusObjectManager a) 
=> a

manager: A DBusObjectManager.

-> Text

objectPath: Object path to lookup.

-> Text

interfaceName: D-Bus interface name to lookup.

-> m DBusInterface

Returns: A DBusInterface instance or Nothing. Free with objectUnref.

Gets the interface proxy for interfaceName at objectPath, if any.

Since: 2.30

getObject

dBusObjectManagerGetObject Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusObjectManager a) 
=> a

manager: A DBusObjectManager.

-> Text

objectPath: Object path to lookup.

-> m DBusObject

Returns: A DBusObject or Nothing. Free with objectUnref.

Gets the DBusObjectProxy at objectPath, if any.

Since: 2.30

getObjectPath

dBusObjectManagerGetObjectPath Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusObjectManager a) 
=> a

manager: A DBusObjectManager.

-> m Text

Returns: A string owned by manager. Do not free.

Gets the object path that manager is for.

Since: 2.30

getObjects

dBusObjectManagerGetObjects Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusObjectManager a) 
=> a

manager: A DBusObjectManager.

-> m [DBusObject]

Returns: A list of DBusObject objects. The returned list should be freed with g_list_free() after each element has been freed with objectUnref.

Gets all DBusObject objects known to manager.

Since: 2.30

Signals

interfaceAdded

interfaceRemoved

objectAdded

objectRemoved