#include <gtk/gtk.h>
Include dependency graph for workspace.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Enumerations | |
enum | ToolbarOptions { TOOLBAR_ICONS = 1, TOOLBAR_TEXT = 2, TOOLBAR_BOTH = 3 } |
Toolbar format options. More... | |
Functions | |
int | ws_get_changed (void) |
Get the change state of the workspace. | |
gint | ws_get_toolbarconf (void) |
Get the toolbar configuration. | |
void | ws_init () |
Initialise the workspace. | |
void | ws_load_file (char *fname) |
Load a workspace from a file. | |
int | ws_save_file (char *fname) |
Save the workspace to a file. | |
void | ws_set_toolbarconf (gint tbconf) |
Set the toolbar configuration. |
Definition in file workspace.h.
|
Toolbar format options.
Definition at line 32 of file workspace.h. |
|
Load a workspace from a file. Sets up the workspace variable, and loads the queries, but does NOT disconnect the old database.
Definition at line 70 of file workspace.c. References luaif_runfile(). Referenced by gui_get_workspace(). |
|
Save the workspace to a file.
Definition at line 84 of file workspace.c. References _a_buf::b_dat, buf_free(), buf_new(), buf_strcat(), buf_strcpy(), cfg_get_default_wsname(), gui_connection_ok(), gui_get_connection_url(), map_chars(), and query_get_text_no(). |