kwin/scripting
Martin Gräßlin d2a9199cd9 Support for calling D-Bus methods from scripts
A new global method is exported to perform a remote method call
through D-Bus. The call is always performed async invoking a
callback once the call completed passing through the arguments
received from D-Bus.

Possible code looks like the following:
callDBus("org.kde.kwin", "/KWin", "org.kde.KWin", "currentDesktop", function (desktop) {
  print("Current Desktop through D-Bus: ", desktop);
});

REVIEW: 105396
2012-07-05 15:19:42 +02:00
..
documentation-global.xml Support for calling D-Bus methods from scripts 2012-07-05 15:19:42 +02:00
kwinscript.desktop SVN_SILENT made messages (.desktop file) 2012-06-18 10:12:23 +02:00
meta.cpp Let kwin scripts add dynamic properties to client objects. 2012-04-24 17:42:16 +02:00
meta.h fix tabbing 2012-02-11 16:30:22 +01:00
scriptedeffect.cpp fix private slot name in connect 2012-06-07 18:22:09 +02:00
scriptedeffect.h Screen Edge bindings for Scripts and Scripted Effects 2012-05-15 17:54:31 +02:00
scripting.cpp Support for calling D-Bus methods from scripts 2012-07-05 15:19:42 +02:00
scripting.h Support for calling D-Bus methods from scripts 2012-07-05 15:19:42 +02:00
scriptingutils.cpp Asserts for KWin scripts 2012-05-10 10:00:54 +02:00
scriptingutils.h -pedantic 2012-06-07 00:38:13 +02:00
timer.cpp Simplify the Timer in scripting 2012-01-22 13:02:34 +01:00
workspace_wrapper.cpp Add activity support to Workspace Script Wrapper and Effects 2012-06-24 18:35:56 +02:00
workspace_wrapper.h Add activity support to Workspace Script Wrapper and Effects 2012-06-24 18:35:56 +02:00