VisuNodeValuesString

VisuNodeValuesString — define a VisuNodeValues object to handle strings.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ToolDbgObj
        ╰── VisuNodeValues
            ╰── VisuNodeValuesString

Description

Defines a VisuNodeValues object to store strings on every nodes and get notification for them.

Functions

visu_node_values_string_new ()

VisuNodeValuesString *
visu_node_values_string_new (VisuNodeArray *arr,
                             const gchar *label);

Create a new string field located on nodes.

Parameters

arr

a VisuNodeArray object.

 

label

a translatable label.

 

Returns

a newly created VisuNodeValuesString object.

[transfer full]

Since: 3.8


visu_node_values_string_getAt ()

const gchar *
visu_node_values_string_getAt (VisuNodeValuesString *vect,
                               const VisuNode *node);

Retrieves the float array hosted on node .

Parameters

vect

a VisuNodeValuesString object.

 

node

a VisuNode object.

 

Returns

the coordinates of float array for node .

[transfer none]

Since: 3.8


visu_node_values_string_setAt ()

gboolean
visu_node_values_string_setAt (VisuNodeValuesString *vect,
                               const VisuNode *node,
                               const gchar *str);

Changes the string hosted at node for one of defined by str .

Parameters

vect

a VisuNodeValuesString object.

 

node

a VisuNode object.

 

str

string value.

 

Returns

TRUE if string for node is indeed changed.

Since: 3.8

Types and Values

struct VisuNodeValuesString

struct VisuNodeValuesString;

Common name to refer to a _VisuNodeValuesString.


struct VisuNodeValuesStringClass

struct VisuNodeValuesStringClass {
  VisuNodeValuesClass parent;
};

Common name to refer to a _VisuNodeValuesStringClass.

Members

VisuNodeValuesClass parent;

private.