![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
panelDataFilepanelDataFile — The tab where to configure the action of an external data file on colourisation of nodes. |
ToolPanel* panelDataFileInit (); gboolean panelDataFileLoad_file (VisuData *visuData
,const gchar *file
,gboolean *new
); void panelDataFileSet_use (gboolean used
); gboolean panelDataFileSet_presetShade (Shade *shade
); void panelDataFileUpdate (VisuData *visuData
);
gboolean panelDataFileLoad_file (VisuData *visuData
,const gchar *file
,gboolean *new
);
Read the given data file and associate the values of each column to
the node. It does not update the widgets of the panel. This is done
to allow to change the values of the colouration before drawing the
widgets. See panelDataFileUpdate()
to do it.
|
the VisuData object to associated the data to ; |
|
the file to read ; |
|
return TRUE if the loaded data are associated for the
first time to visuData .
|
Returns : |
TRUE if visu_data_createAllNodes() should be called after.
|
void panelDataFileSet_use (gboolean used
);
Set if the panel is used or not.
|
a boolean. |
gboolean panelDataFileSet_presetShade (Shade *shade
);
Change the preset shade
used to colourise the data.