Class: Gegl::Operation

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Class Method Details

.find_property(operation_type, property_name) ⇒ GObject::ParamSpec

NULL if there as no match.

Parameters:

  • operation_type (String)

    the name of the operation type we want to locate a property on.

  • property_name (String)

    the name of the property we seek.

Returns:

  • (GObject::ParamSpec)

    The paramspec of the matching property - or

.get_key(operation_type, key_name) ⇒ String

Parameters:

  • operation_type (String)
  • key_name (String)

Returns:

  • (String)

.get_op_version(op_name) ⇒ String

Parameters:

  • op_name (String)

Returns:

  • (String)

.get_property_key(operation_type, property_name, property_key_name) ⇒ String

key.

Parameters:

  • operation_type (String)

    the name of the operation type we want to query to property keys for.

  • property_name (String)

    the property to query a key for.

  • property_key_name (String)

    the property mata data key to query

Returns:

  • (String)

    NULL or a string with the meta-data value for the operation

.list_keys(operation_type, n_keys) ⇒ Array<String>

terminated array of operation-key names. The list should be freed with g_free after use.

Parameters:

  • operation_type (String)

    the name of the operation type we want to query to property keys for.

  • n_keys (Integer)

    return location for number of property keys.

Returns:

  • (Array<String>)

    An allocated NULL

.list_properties(operation_type, n_properties_p) ⇒ Array<GObject::ParamSpec>

of the operation available when a node has operation_type set. The list should be freed with g_free after use.

Parameters:

  • operation_type (String)

    the name of the operation type we want to query to properties of.

  • n_properties_p (Integer)

    return location for number of properties.

Returns:

  • (Array<GObject::ParamSpec>)

    An allocated array of GParam::Specs describing the properties

.list_property_keys(operation_type, property_name, n_keys) ⇒ Array<String>

keys.

Parameters:

  • operation_type (String)

    the name of the operation type we want to query to property keys for.

  • property_name (String)

    the property to query a key for.

  • n_keys (Integer)

    return location for number of property

Returns:

  • (Array<String>)

    An allocated NULL terminated array of property-key names. The list should be freed with g_free after use.