Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | (*VisuUiInteractiveBuild) () |
void | (*VisuUiInteractiveStartStop) () |
guint | visu_ui_interactive_addAction () |
void | visu_ui_interactive_init () |
void | visu_ui_interactive_toggle () |
void | visu_ui_interactive_initBuild () |
void | visu_ui_interactive_start () |
void | visu_ui_interactive_setMessage () |
void | visu_ui_interactive_unsetMessage () |
This is the second main interface for V_Sim after the command panel. It provides widgets to interact with the nodes. There is three built-in interactive modes : the observe one (as in normal behaviour), the pick one and the move one.
It is possible to add new action thanks to
visu_ui_interactive_addAction()
function. It is also possible to
show a small warning message with visu_ui_interactive_setMessage()
that shows a GtkInfoBar.
GtkWidget * (*VisuUiInteractiveBuild) (VisuUiMain *main
,gchar **label
,gchar **help
,GtkWidget **radio
);
One can create new tab in the interactive dialog window by providing routines with this prototype.
void
(*VisuUiInteractiveStartStop) (VisuUiRenderingWindow *window
);
Routines of this prototype are called each time the interactive mode should be changed.
guint visu_ui_interactive_addAction (VisuUiInteractiveBuild build
,VisuUiInteractiveStartStop start
,VisuUiInteractiveStartStop stop
);
One can add new interactive mode with specific tab in the interactive dialog.
build |
a routine to build a tab. |
|
start |
a routine to run when session is selected. |
|
stop |
a routine to run when session is stopped. |
Since: 3.6
void
visu_ui_interactive_init ();
Initialise the observe/pick window, connect the signals, give names to widgets...
[skip]
void
visu_ui_interactive_toggle (void
);
The user can switch between a current specific interactive action and the observe mode. This routine is used to do this.*
Since: 3.6
void
visu_ui_interactive_initBuild (VisuUiMain *main
);
create the window.
[skip]
void
visu_ui_interactive_start (VisuUiRenderingWindow *window
);
Start the observe & pick session.
void visu_ui_interactive_setMessage (const gchar *message
,GtkMessageType type
);
Show a message in the interactive dialog.
Since: 3.6
void
visu_ui_interactive_unsetMessage ();
Hide any message from the interactive dialog. See also
visu_ui_interactive_setMessage()
.
Since: 3.6