Method

AppStreamSystemInfohas_input_control

Declaration [src]

AsCheckResult
as_system_info_has_input_control (
  AsSystemInfo* sysinfo,
  AsControlKind kind,
  GError** error
)

Description [src]

Test if the current system has a specific user input control method. Returns AS_CHECK_RESULT_UNKNOWN if we could not test for an input control method, AS_CHECK_RESULT_ERROR on error and AS_CHECK_RESULT_FALSE if the control was not found.

Parameters

kind AsControlKind
 

The AsControlKind to test for.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: AsCheckResult
 

AS_CHECK_RESULT_TRUE if control was found.