## panelMethod

panelMethod

## Synopsis

    void                (*destroyFunc)                      (void);
    ToolPanel*          panelMethodInit                     ();
    void                panelMethodSet_renderingInterface   (RenderingMethod *method,
                                                             createGtkWidgetFunc 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   (RenderingMethod *method,
                                                             createGtkWidgetFunc 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.