| V_Sim API - Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void (*GtkPairsInitFunc) (void); GtkWidget * (*GtkPairsBuildWidgetsFunc) (); gchar * (*GtkPairsGetValuesAsLabelFunc) (VisuPairData *data); void (*GtkPairsSetValuesFunc) (VisuPairData *data); void gtkPairsInit (); void gtkPairsBuild_window (VisuUiMain *main); void gtkPairsBuild_pairs (VisuUiMain *main,VisuData *dataObj,gboolean force); void gtkPairsShow (VisuUiMain *main); void gtkPairsSet_specificLabels (GtkTreeIter *iter,const gchar *label); void gtkPairs_createPairs (); void gtkPairsIter_startSelected (GtkPairsIter *iter); void gtkPairsIter_nextSelected (GtkPairsIter *iter);
void (*GtkPairsInitFunc) (void);
Prototype of functions called once on V_Sim start-up.
GtkWidget * (*GtkPairsBuildWidgetsFunc) ();
Prototype of functions that create a container GtkWidgets will all element needed to change characteristic of a model.
Returns : |
a newly allocated GtkWidget. |
gchar * (*GtkPairsGetValuesAsLabelFunc) (VisuPairData *data);
Create a string, internationalised and in UTF-8, that describes the
given pair data. This string is used in a column tree view to
summarize the pair description.
|
information about a pair. |
Returns : |
a newly created string. |
void (*GtkPairsSetValuesFunc) (VisuPairData *data);
Prototype of functions used to update the widgets with given pair data.
|
informations about a pair. |
void gtkPairsInit ();
Initialise the default values for the pair dialog. It does not build
the interface, use gtkPairsBuild_window() to do it.
void gtkPairsBuild_window (VisuUiMain *main);
Create the dialog window for pairs.
|
the command panel the about dialog is associated to. |
void gtkPairsBuild_pairs (VisuUiMain *main,VisuData *dataObj,gboolean force);
Update the list of pairs. This routine must be called only after
gtkPairsBuild_window() has been called. The job is done only if the
window is visible or if the force argument is used.
|
the command panel the about dialog is associated to ; |
|
the VisuData the pairs are related to (can be NULL, if none is loaded) ; |
|
build the pairs even if the window is hidden. |
void gtkPairsShow (VisuUiMain *main);
Shows the pairs dialog and run possible update of the interface.
|
the container for pairs dialog. |
Since 3.6
void gtkPairsSet_specificLabels (GtkTreeIter *iter,const gchar *label);
Change the specific label shown in the treeview of pairs for the given iter. An iter in this treeview can be retrieve using the GtkPairsIter_struct objects.
|
the GtkTreeIter to set the label ; |
|
the value of the label to be set. |
void gtkPairs_createPairs ();
Wrapper to get the current rendering window, retrieve its VisuData and call
visu_pair_build() with appropriate arguments and then emit 'OpenGLAskForReDraw'
if needed.
void gtkPairsIter_startSelected (GtkPairsIter *iter);
Initialise the given iterator iter on the first selected pair or
set iter->data to NULL if none. If iter->data is not NULL,
gtkPairsIter_nextSelected() must be called until iter->data is
NULL to be sure that iter->selected list is freed.
|
an iterator. |