![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
ToolPanel* panelDataFileInit (); gboolean panelDataFileLoad_file (VisuData *visuData, gchar *file, gboolean *new); void panelDataFileSet_use (gboolean used); void panelDataFileUpdate (VisuData *visuData);
ToolPanel* panelDataFileInit ();
Should be used in the list declared in externalModules.h to be loaded by V_Sim on start-up. This routine will create the ToolPanel where the colouring stuff can be done, such as choosing a colour shade, opening a file, setting boundaries...
Returns : |
a newly created ToolPanel object. |
gboolean panelDataFileLoad_file (VisuData *visuData, 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 visuData_createAllNodes() should be called after.
|
void panelDataFileSet_use (gboolean used);
Set if the panel is used or not.
|
a boolean. |