gtk_pick

gtk_pick — The pick and measurement tab in the interactive dialog.

Functions

Description

This action tab provides widgets to display information about selected atoms, like distances or angles. In addition, measured distances and angles are kept in a list when new files are loaded.

With the list of selected nodes, one can modify properties associated to nodes like their coordinates, the value of colourisation if any, the forces on them, if any... One can also decide to display information directly on nodes.

Functions

visu_ui_interactive_pick_initBuild ()

GtkWidget *
visu_ui_interactive_pick_initBuild (VisuUiMain *main,
                                    gchar **label,
                                    gchar **help,
                                    GtkWidget **radio);

This routine should be called in conjonction to the visu_ui_interactive_move_initBuild() one. It completes the creation of widgets (and also initialisation of values) for the pick tab.

[skip]

Parameters

main

the main interface.

 

label

a location to store the name of the pick tab ;

 

help

a location to store the help message to be shown at the bottom of the window ;

 

radio

a location on the radio button that will be toggled when the pick action is used.

 

visu_ui_interactive_pick_getSelection ()

VisuUiSelection *
visu_ui_interactive_pick_getSelection (void);

Retrieves the VisuUiSelection of this panel.

Returns

a VisuUiSelection object.

[transfer none]

Since: 3.8


visu_ui_interactive_pick_getSelectionLabel ()

GtkWidget *
visu_ui_interactive_pick_getSelectionLabel
                               (void);

Retrieves the GtkWidget used as label for the selection.

Returns

a GtkWidget object.

[transfer none]

Since: 3.8


visu_ui_interactive_pick_start ()

void
visu_ui_interactive_pick_start (VisuUiRenderingWindow *window);

Initialise a pick session.

Parameters

window

a VisuUiRenderingWindow object.

 

visu_ui_interactive_pick_stop ()

void
visu_ui_interactive_pick_stop (VisuUiRenderingWindow *window);

Finalise a pick session.

Parameters

window

a VisuUiRenderingWindow object.

 

visu_ui_interactive_pick_init ()

void
visu_ui_interactive_pick_init ();

Internal routine to setup the pick action of the interactive dialog.

[skip]

Since: 3.6

Types and Values