Method

GrlOperationOptionsset_key_range_filter_value

since: 0.2.0

Declaration [src]

gboolean
grl_operation_options_set_key_range_filter_value (
  GrlOperationOptions* options,
  GrlKeyID key,
  GValue* min_value,
  GValue* max_value
)

Description [src]

Set filter as “min_value <= key <= max_value.

If min_value is NULL, then filter is “key <= max_value.

If max_value is NULL, then filter is “key >= min_value.

Note that key will always respect the limits defined at creation time. e.g: Core’s GRL_METADATA_KEY_ORIENTATION has “max = 359” and “min = 0”, user can set “max_value = 180” but “max_value = 720” would be ignored.

Available since: 0.2.0

Parameters

key

Type: GrlKeyID

A GrlKeyID.

min_value

Type: GValue

Minimum value for range.

The argument can be NULL.
The data is owned by the caller of the method.
max_value

Type: GValue

Maximum value for range.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE on success.