## panelElements

panelElements — The tab where VisuElement characteristics can be tuned.

## Synopsis

    ToolPanel*          panelElementsInit                   ();
    void                (*panelElements_changeFunc)         (GList *elements);
    void                panelElements_setInterfaceMethods   (VisuRendering *method,
                                                             panelElements_changeFunc change,
                                                             VisuGtkWidgetFunc create);
    GList*              panelElementsGet_selected           ();
    #define             PANEL_ELEMENTS
    GtkWidget*          panelElementsGet_static             ();

## Description

## Details

### panelElementsInit ()

    ToolPanel*          panelElementsInit                   ();

### panelElements_changeFunc ()

    void                (*panelElements_changeFunc)         (GList *elements);

Methods from this interface are called whenever the currently selected elements are changed.

`elements` : | a list of all VisuElements that are selected.

### panelElements_setInterfaceMethods ()

    void                panelElements_setInterfaceMethods   (VisuRendering *method,
                                                             panelElements_changeFunc change,
                                                             VisuGtkWidgetFunc create);

This method allows to initiate the methods to deal with the rendering specific interfaces.

`method` : | a pointer on the method this interface is associated to ;
`change` : | the method to be called whenever the element selection is cahnged ;
`create` : | the method to be called when the interface must be built.

### panelElementsGet_selected ()

    GList*              panelElementsGet_selected           ();

This method is used to get a list of selected VisuElement from the element selector of this panel.

Returns : | a list of VisuElement, the list should be freed after use by `g_list_free()`.

Since 3.6

### PANEL_ELEMENTS

    #define PANEL_ELEMENTS panelElementsGet_static()

Retrieve the widget of the panel of VisuElement.

Returns : | a GtkWidget owned by V_Sim.

### panelElementsGet_static ()

    GtkWidget*          panelElementsGet_static             ();

Retrives a pointer on this ToolPanel.

Returns : | a pointer owned by V_Sim.