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

## Synopsis

    void                (*destroyFunc)                      (void);
    ToolPanel*          panelMethodInit                     ();
    void                panelMethodSet_renderingInterface   (VisuRendering *method,
                                                             VisuGtkWidgetFunc create,
                                                             destroyFunc destroy);

## Description

## Details

### destroyFunc ()

    void                (*destroyFunc)                      (void);

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

### panelMethodInit ()

    ToolPanel*          panelMethodInit                     ();

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

Returns : | a newly created ToolPanel object.

### panelMethodSet_renderingInterface ()

    void                panelMethodSet_renderingInterface   (VisuRendering *method,
                                                             VisuGtkWidgetFunc create,
                                                             destroyFunc 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.