## gtk_pick

gtk_pick

## Synopsis

    GtkWidget*          gtkPickBuild_interface              (GtkMain *main,
                                                             gchar **label,
                                                             gchar **help,
                                                             GtkWidget **radio);
    GList*              gtkPickGet_nodeSelection            ();
    gboolean            gtkPickParse_XMLFile                (const gchar *filename,
                                                             VisuData *data,
                                                             GError **error);
    void                gtkPick_onClose                     ();

## Description

A longer description goes here.

## Details

### gtkPickBuild_interface ()

    GtkWidget*          gtkPickBuild_interface              (GtkMain *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.

`main` : | the main interface.

### gtkPickGet_nodeSelection ()

    GList*              gtkPickGet_nodeSelection            ();

Compute a list of VisuNode currently listed.

Returns : | a newly created list. Should be freed with `g_list_free()` after use.

### gtkPickParse_XMLFile ()

    gboolean            gtkPickParse_XMLFile                (const gchar *filename,
                                                             VisuData *data,
                                                             GError **error);

Parse the given V_Sim value file and update the dialog accordingly.

`filename` : | a filename ;
`data` : | a VisuData object to take the pick information from ;
`error` : | a location to store possible errors.
Returns : | TRUE if no error.

### gtkPick_onClose ()

    void                gtkPick_onClose                     ();

A routine to be called when the interactive window is closed. It currently cleans the labels for the pick information.