Top | ![]() |
![]() |
![]() |
![]() |
One can display a message about the file list by calling
visu_ui_panel_browser_setMessage()
. It is possible also to change
the browser directory or directories with
visu_ui_panel_browser_setCurrentDirectory()
.
VisuUiPanel * visu_ui_panel_browser_init ();
Should be used in the list declared in externalModules.h to be loaded by V_Sim on start-up. This routine will create the VisuUiPanel handling the browser.
[skip]
gboolean visu_ui_panel_browser_getNextSelected (GtkTreePath **path
,GtkTreeIter *iterSelected
,int direction
);
Change the selected file in the browser given the direction.
gboolean visu_ui_panel_browser_getCurrentSelected (GtkTreePath **path
,GtkTreeIter *iterSelected
);
Get iter and path of the currently sleected file.
void
visu_ui_panel_browser_setCurrentDirectory
(const gchar *dir
);
Change the directory for the browser. The directory is not parsed immediately but only when the subpanel becomes visible.
void
visu_ui_panel_browser_setCurrentDirectories
(gchar **dirs
);
Change the directories for the browser. It is the same routine than
visu_ui_panel_browser_setCurrentDirectory()
, but several directories can be loaded
at once. But internally, contrary to visu_ui_panel_browser_setCurrentDirectory()
the given array must not be freed since it is not copied.
void visu_ui_panel_browser_setMessage (const gchar *message
,GtkMessageType message_type
);
This routine is used to give the user a message. This message can be mere information or a warning or an error.
Since: 3.6
#define VISU_UI_PANEL_BROWSER_PREVIOUS 0
Value that give the direction when the selector is moved around file list.
See visu_ui_panel_browser_getNextSelected()
.
#define VISU_UI_PANEL_BROWSER_NEXT 1
Value that give the direction when the selector is moved around file list.
See visu_ui_panel_browser_getNextSelected()
.