gi-gio-2.0.11: 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.DBusMenuModel

Contents

Description

DBusMenuModel is an implementation of MenuModel that can be used as a proxy for a menu model that is exported over D-Bus with dBusConnectionExportMenuModel.

Synopsis

Exported types

Methods

get

dBusMenuModelGet Source #

Arguments

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

connection: a DBusConnection

-> Text

busName: the bus name which exports the menu model

-> Text

objectPath: the object path at which the menu model is exported

-> m DBusMenuModel

Returns: a DBusMenuModel object. Free with objectUnref.

Obtains a DBusMenuModel for the menu model which is exported at the given busName and objectPath.

The thread default main context is taken at the time of this call. All signals on the menu model (and any linked models) are reported with respect to this context. All calls on the returned menu model (and linked models) must also originate from this same context, with the thread default main context unchanged.

Since: 2.32