Function

Phoshshell_activate_action

since: 0

Declaration [src]

gboolean
phosh_shell_activate_action (
  PhoshShell* self,
  const char* action,
  GVariant* parameter
)

Description [src]

Activates the given action. If the action is not found FALSE is returned and a warning is logged.

Available since: 0

This function is not directly available to language bindings.

Parameters

self

Type: PhoshShell*

The PhoshShell singleton.

The data is owned by the caller of the function.
action

Type: const char*

The action name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
parameter

Type: GVariant

The action’s parameters.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the action was found.