Method

AravisCameraselect_component

Declaration [src]

gboolean
arv_camera_select_component (
  ArvCamera* camera,
  const char* component,
  ArvComponentSelectionFlags flags,
  guint* component_id,
  GError** error
)

Description [src]

Select and enable or disable the given component.

Available since:0.8.25

Parameters

component const char*
 

Component to select.

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

A ArvComponentSelectionFlags.

component_id guint*
 

A placeholder for the component id.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the component is enabled.