gtk_wire

gtk_wire — The additional widgets displayed in the pair dialog to handle wire pairs.

Synopsis

void                gtkPairsWireInit                    (void);
GtkWidget*          gtkPairsWireBuild_widgets           ();
void                gtkPairsWireSet_values              (VisuPairData *data);
gchar*              gtkPairsWireGet_valuesAsLabel       (VisuPairData *data);

Description

Details

gtkPairsWireInit ()

void                gtkPairsWireInit                    (void);

This routine is used by V_Sim to initialise the Gtk part of wire pair model. This should be called once on start-up.


gtkPairsWireBuild_widgets ()

GtkWidget*          gtkPairsWireBuild_widgets           ();

This routine create a container GtkWidget that hold all widgets necessary for handling wire pair model.

Returns :

a newly created GtkWidget.

gtkPairsWireSet_values ()

void                gtkPairsWireSet_values              (VisuPairData *data);

Change the widget values with the given information. This change trigger no signals.

data :

information about a pair.

gtkPairsWireGet_valuesAsLabel ()

gchar*              gtkPairsWireGet_valuesAsLabel       (VisuPairData *data);

Create an internationalised UTF-8 label that describes the information about a pair.

data :

information about a pair

Returns :

a newly allocated string.