VisuNodeValuesType

VisuNodeValuesType — define a VisuNodeValues object to access node typeinates.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ToolDbgObj
        ╰── VisuNodeValues
            ╰── VisuNodeValuesType

Description

Defines a VisuNodeValues object to be notified about typeinate changes.

Functions

visu_node_values_type_new ()

VisuNodeValuesType *
visu_node_values_type_new (VisuNodeArray *array);

Create a VisuNodeValues object to handle typeinates of nodes.

Parameters

array

a VisuData object.

 

Returns

a newly created VisuNodeValuesType object.

[transfer full]

Since: 3.8


visu_node_values_type_getAt ()

VisuElement *
visu_node_values_type_getAt (const VisuNodeValuesType *vect,
                             const VisuNode *node);

Retrieves the type hosted on node .

Parameters

vect

a VisuNodeValuesType object.

 

node

a VisuNode object.

 

Returns

the VisuElement for node .

[transfer none]

Since: 3.8


visu_node_values_type_setAt ()

gboolean
visu_node_values_type_setAt (VisuNodeValuesType *vect,
                             const VisuNode *node,
                             VisuElement *element);

Changes the type hosted at node for element . This will change node and its location. node is not valid anymore after a call to this function.

Parameters

vect

a VisuNodeValuesType object.

 

node

a VisuNode object.

 

element

type typeinates.

 

Returns

TRUE if type for node is indeed changed.

Since: 3.8

Types and Values

struct VisuNodeValuesType

struct VisuNodeValuesType;

Common name to refer to a _VisuNodeValuesType.


struct VisuNodeValuesTypeClass

struct VisuNodeValuesTypeClass {
  VisuNodeValuesClass parent;
};

Common name to refer to a _VisuNodeValuesTypeClass.

Members

VisuNodeValuesClass parent;

private.