Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dbusapi [2013/10/08 23:46] sanel created |
dbusapi [2015/10/03 14:54] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | tg====== DBus API in EDE ====== | + | ====== DBus API in EDE ====== |
===== Introduction ===== | ===== Introduction ===== | ||
Line 28: | Line 28: | ||
</code> | </code> | ||
+ | ===== Interfaces ===== | ||
+ | |||
+ | ==== org.equinoxproject.Shutdown ==== | ||
+ | |||
+ | A general signal emitted when EDE is starting to shut down. | ||
+ | |||
+ | ^ Name ^ Details ^ | ||
+ | | void Shutdown (void) | The only member of 'org.equinoxproject.Shutdown' signal. Emitted when desktop is closed by logging out or shutting down or restarting the computer.| | ||
+ | |||
+ | ==== org.equinoxproject.Xsettings ==== | ||
+ | |||
+ | This service path exposes XSETTINGS registry. Object path for access | ||
+ | service methods is '/org/equinoxproject/Xsettings' and interface is | ||
+ | 'org.equinoxproject.Xsettings'. | ||
+ | |||
+ | ^ Name ^ Details ^ | ||
+ | | as GetAll (void) | Returns array of all known keys hold by XSETTINGS manager. Each array item is string type. | | ||
+ | | string GetType (string key)| Returns type of the given key. As XSETTINGS knows only three types (int, string and color), returned value will be string holding type name. | | ||
+ | | void Remove (string key)|Removes given key from XSETTINGS registry. If key wasn't found, the function will do nothing.| | ||
+ | | void Flush (void) | Force XSETTINGS manager to store data on disk. This is usually done by manager when exits.| | ||
+ | | bool Set (string key, type value) | Set key to given value. Here, value can be int32, string or array (4 int32 elements, representing RGBA) and set value will automatically set key value type. Returns true if done successfully or false if not.| |