Gegl.Operation

g GObject.Object GObject.Object Gegl.Operation Gegl.Operation GObject.Object->Gegl.Operation

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

find_property (operation_type, property_name)

class

get_key (operation_type, key_name)

class

get_op_version (op_name)

class

get_property_key (operation_type, property_name, property_key_name)

class

list_keys (operation_type)

class

list_properties (operation_type)

class

list_property_keys (operation_type, property_name)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Gegl.Operation(**kwargs)
Bases:

GObject.Object

Abstract:

No

classmethod find_property(operation_type, property_name)
Parameters:
  • operation_type (str) – the name of the operation type we want to locate a property on.

  • property_name (str) – the name of the property we seek.

Returns:

The paramspec of the matching property - or None if there as no match.

Return type:

GObject.ParamSpec

classmethod get_key(operation_type, key_name)
Parameters:
  • operation_type (str) –

  • key_name (str) –

Return type:

str

classmethod get_op_version(op_name)
Parameters:

op_name (str) –

Return type:

str

classmethod get_property_key(operation_type, property_name, property_key_name)
Parameters:
  • operation_type (str) – the name of the operation type we want to query to property keys for.

  • property_name (str) – the property to query a key for.

  • property_key_name (str) – the property mata data key to query

Returns:

None or a string with the meta-data value for the operation key.

Return type:

str

classmethod list_keys(operation_type)
Parameters:

operation_type (str) – the name of the operation type we want to query to property keys for.

Returns:

An allocated None terminated array of operation-key names. The list should be freed with GLib.free after use.

Return type:

[str]

classmethod list_properties(operation_type)
Parameters:

operation_type (str) – the name of the operation type we want to query to properties of.

Returns:

An allocated array of GObject.ParamSpecs describing the properties of the operation available when a node has operation_type set. The list should be freed with GLib.free after use.

Return type:

[GObject.ParamSpec]

classmethod list_property_keys(operation_type, property_name)
Parameters:
  • operation_type (str) – the name of the operation type we want to query to property keys for.

  • property_name (str) – the property to query a key for.

Returns:

An allocated None terminated array of property-key names. The list should be freed with GLib.free after use.

Return type:

[str]