![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GtkWidget* gtkPickBuild_interface (VisuUiMain *main
,gchar **label
,gchar **help
,GtkWidget **radio
); void gtkPickStart (VisuRenderingWindow *window
); void gtkPickStop (VisuRenderingWindow *window
); GList* gtkPickGet_nodeSelection (); void gtkPick_onClose (); gboolean gtkPickParse_XMLFile (const gchar *filename
,VisuData *data
,GError **error
); void initGtkPick ();
GtkWidget* gtkPickBuild_interface (VisuUiMain *main
,gchar **label
,gchar **help
,GtkWidget **radio
);
This routine should be called in conjonction to the
create_observeDialog()
one. It completes the creation of widgets
(and also initialisation of values) for the pick tab.
|
the main interface. |
|
a location to store the name of the pick tab ; |
|
a location to store the help message to be shown at the bottom of the window ; |
|
a location on the radio button that will be toggled when the pick action is used. |
void gtkPickStart (VisuRenderingWindow *window
);
Initialise a pick session.
|
a VisuRenderingWindow object. |
void gtkPickStop (VisuRenderingWindow *window
);
Finalise a pick session.
|
a VisuRenderingWindow object. |
GList* gtkPickGet_nodeSelection ();
Compute a list of VisuNode currently listed.
Returns : |
a newly created list. Should be freed with g_list_free()
after use.
|
void gtkPick_onClose ();
A routine to be called when the interactive window is closed. It currently cleans the labels for the pick information.
gboolean gtkPickParse_XMLFile (const gchar *filename
,VisuData *data
,GError **error
);
Parse the given V_Sim value file and update the dialog accordingly.
|
a filename ; |
|
a VisuData object to take the pick information from ; |
|
a location to store possible errors. |
Returns : |
TRUE if no error. |