panelMethod

panelMethod — The tab where drawing method is chosen (atomic or spin).

Synopsis

void                (*VisuUiPanelDestroyFunc)           (void);
VisuUiPanel *       visu_ui_panel_method_init           ();
void                visu_ui_panel_method_set            (VisuRendering *method,
                                                         VisuUiNewWidgetFunc create,
                                                         VisuUiPanelDestroyFunc destroy);

Description

This tab has an area to display custom widgets according to the selected rendering method, see visu_ui_panel_method_set().

Details

VisuUiPanelDestroyFunc ()

void                (*VisuUiPanelDestroyFunc)           (void);

Prototype of method called when the rendering method widget is destroyed.


visu_ui_panel_method_init ()

VisuUiPanel *       visu_ui_panel_method_init           ();

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 stuff about a rendering method can be tuned, such as choosing the current rendering method, its parameters...

Returns :

a newly created VisuUiPanel object.

visu_ui_panel_method_set ()

void                visu_ui_panel_method_set            (VisuRendering *method,
                                                         VisuUiNewWidgetFunc create,
                                                         VisuUiPanelDestroyFunc destroy);

This method allows to initiate the method to deal with the interface.

method :

a RenderingMethod ;

create :

a method returning a widget ;

destroy :

a method to detached, signals, free everything from the created widget.