gi-gio-2.0.14: 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.Objects.DBusObjectSkeleton

Contents

Description

A DBusObjectSkeleton instance is essentially a group of D-Bus interfaces. The set of exported interfaces on the object may be dynamic and change at runtime.

This type is intended to be used with DBusObjectManager.

Synopsis

Exported types

Methods

addInterface

dBusObjectSkeletonAddInterface Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusObjectSkeleton a, IsDBusInterfaceSkeleton b) 
=> a

object: A DBusObjectSkeleton.

-> b

interface_: A DBusInterfaceSkeleton.

-> m () 

Adds interface_ to object.

If object already contains a DBusInterfaceSkeleton with the same interface name, it is removed before interface_ is added.

Note that object takes its own reference on interface_ and holds it until removed.

Since: 2.30

flush

dBusObjectSkeletonFlush Source #

Arguments

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

object: A DBusObjectSkeleton.

-> m () 

This method simply calls dBusInterfaceSkeletonFlush on all interfaces belonging to object. See that method for when flushing is useful.

Since: 2.30

new

dBusObjectSkeletonNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

objectPath: An object path.

-> m DBusObjectSkeleton

Returns: A DBusObjectSkeleton. Free with objectUnref.

Creates a new DBusObjectSkeleton.

Since: 2.30

removeInterface

dBusObjectSkeletonRemoveInterface Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusObjectSkeleton a, IsDBusInterfaceSkeleton b) 
=> a

object: A DBusObjectSkeleton.

-> b

interface_: A DBusInterfaceSkeleton.

-> m () 

Removes interface_ from object.

Since: 2.30

removeInterfaceByName

dBusObjectSkeletonRemoveInterfaceByName Source #

Arguments

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

object: A DBusObjectSkeleton.

-> Text

interfaceName: A D-Bus interface name.

-> m () 

Removes the DBusInterface with interfaceName from object.

If no D-Bus interface of the given interface exists, this function does nothing.

Since: 2.30

setObjectPath

dBusObjectSkeletonSetObjectPath Source #

Arguments

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

object: A DBusObjectSkeleton.

-> Text

objectPath: A valid D-Bus object path.

-> m () 

Sets the object path for object.

Since: 2.30

Properties

gObjectPath

Signals

authorizeMethod