D-Bus Interface (dbus_api.py)

D-Bus API for controlling QuickTile

class QuickTile(bus, commands, winman)[source]

D-Bus endpoint definition

Parameters
doCommand(command)[source]

Execute a QuickTile tiling command

Parameters

command (str) – The name of the command to attempt to run.

Return type

bool

Returns

Whether command was found in the registry.

init(commands, winman)[source]

Initialize the DBus backend

This handles hooking D-Bus into the Glib main loop, connecting to the session bus, and creating a QuickTile instance.

Parameters
Return type

Optional[Tuple[BusName, QuickTile]]