VisuUiLink

VisuUiLink — Defines a widget to setup a link.

Functions

Properties

VisuData * data Read / Write
VisuPairLink * model Read / Write
VisuGlExtPairs * renderer Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── VisuUiLink

Description

A set of widgets to setup the rendring of a link.

Functions

visu_ui_link_new ()

GtkWidget *
visu_ui_link_new (VisuGlExtPairs *pairs);

Creates a new VisuUiLink to allow to setup link rendering characteristics.

Parameters

pairs

a VisuGlExtPairs object.

 

Returns

a pointer to the newly created widget.

Since: 3.8


visu_ui_link_bind ()

void
visu_ui_link_bind (VisuUiLink *link,
                   VisuPairLink *model);

Bind the properties of model to be displayed by link .

Parameters

link

a VisuUiLink object.

 

model

a VisuPairLink object.

[transfer full]

Since: 3.8


visu_ui_link_setAddLinks ()

void
visu_ui_link_setAddLinks (VisuUiLink *link,
                          GList *lst);

Set the list of additional VisuPairLink to be updated when the model of link is updated, see visu_ui_link_bind().

Parameters

link

a VisuUiLink object.

 

lst

a list of VisuPairLink objects.

[element-type VisuPairLink]

Since: 3.8

Types and Values

Property Details

The “data” property

  “data”                     VisuData *

full set of nodes.

Flags: Read / Write


The “model” property

  “model”                    VisuPairLink *

link to display properties of.

Flags: Read / Write


The “renderer” property

  “renderer”                 VisuGlExtPairs *

renderer object to draw links.

Flags: Read / Write / Construct Only