Method

AstalRiverRiverrun_command_async

Declaration

void
astal_river_river_run_command_async (
  AstalRiverRiver* self,
  gint length,
  const gchar** cmd,
  AstalRiverCommandCallback callback
)

Description

Sends a given command to the compositor and calls the callback after it was executed.

Parameters

length

Type: gint

The length of the cmd array.

cmd

Type: An array of gchar*

The command to execute.

The length of the array is specified in the length argument.
The data is owned by the caller of the method.
Each element is a NUL terminated UTF-8 string.
callback

Type: AstalRiverCommandCallback

The callback to invoke.

The argument can be NULL.