panelConfig

panelConfig — The tab where miscellaneous options are setup.

Synopsis

GtkWidget *         visu_ui_panel_config_getArea        ();
VisuUiPanel *       visu_ui_panel_config_init           (VisuUiMain *ui);
void                visu_ui_panel_config_setAutomaticRefresh
                                                        (VisuUiRenderingWindow *window,
                                                         gboolean bool);
void                visu_ui_panel_config_setRefreshPeriod
                                                        (VisuUiRenderingWindow *window,
                                                         float val);
void                visu_ui_panel_config_setTabView     (gboolean viewed);

Description

Nothing special here.

Details

visu_ui_panel_config_getArea ()

GtkWidget *         visu_ui_panel_config_getArea        ();

This routine can be used to extend the configure panel from plug-ins.

Returns :

a GtkBox containing elements of the configure panel. [transfer none]

Since 3.7


visu_ui_panel_config_init ()

VisuUiPanel *       visu_ui_panel_config_init           (VisuUiMain *ui);

Should be used in the list declared in externalModules.h to be loaded by V_Sim on start-up. This routine will create the VisuUiPanel where the configuration stuff can be done, such as the auto-reloading.

ui :

a VisuUiMain object.

Returns :

a newly created VisuUiPanel object.

visu_ui_panel_config_setAutomaticRefresh ()

void                visu_ui_panel_config_setAutomaticRefresh
                                                        (VisuUiRenderingWindow *window,
                                                         gboolean bool);

V_Sim can poll the rendered file at periodic intervals to check if the file has been modified. If true, the file is reloaded. Turn this functionality on or off with this method. See visu_ui_panel_config_setRefreshPeriod() to tune the period of the polling.

window :

the VisuUiRenderingWindow to associated the auto refresh ;

bool :

a boolean value.

visu_ui_panel_config_setRefreshPeriod ()

void                visu_ui_panel_config_setRefreshPeriod
                                                        (VisuUiRenderingWindow *window,
                                                         float val);

V_Sim can poll the rendered file at periodic intervals. Use this method to tune the period. See visu_ui_panel_config_setAutomaticRefresh() to enable this functionality.

window :

the VisuUiRenderingWindow to associated the auto refresh ;

val :

a floating point value in milliseconds.

visu_ui_panel_config_setTabView ()

void                visu_ui_panel_config_setTabView     (gboolean viewed);

The note can show its tabs or not. Change this with that method.

viewed :

a boolean value.