![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
panelElementspanelElements — The tab where VisuElement characteristics can be tuned. |
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 ();
void (*panelElements_changeFunc) (GList *elements
);
Methods from this interface are called whenever the currently selected elements are changed.
|
a list of all VisuElements that are selected. |
void panelElements_setInterfaceMethods (VisuRendering *method
,panelElements_changeFunc change
,VisuGtkWidgetFunc create
);
This method allows to initiate the methods to deal with the rendering specific interfaces.
|
a pointer on the method this interface is associated to ; |
|
the method to be called whenever the element selection is cahnged ; |
|
the method to be called when the interface must be built. |
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
#define PANEL_ELEMENTS panelElementsGet_static()
Retrieve the widget of the panel of VisuElement.
Returns : |
a GtkWidget owned by V_Sim. |