1 /*******************************************************************************
2 This file is part of WhiteStork.
4 WhiteStork is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 WhiteStork is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with WhiteStork; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 Copyright 2006 ComArch S.A.
19 *******************************************************************************/
20 #ifndef _WS_GUI_LAYOUT
21 #define _WS_GUI_LAYOUT
28 #include <ws_gui_callbacks.h>
31 * \brief create main window
34 void ws_gui_create_window(gpointer user_data);
37 * \brief create find toolbar
40 void ws_gui_create_find_toolbar(gpointer user_data);
43 * \brief create application menu
46 void ws_gui_create_main_menu (gpointer user_data);
49 * \brief create popup menu
52 void ws_gui_create_popup_menu (gpointer user_data);
55 * \brief select dictionaries to use
58 void ws_gui_dictionary_chooser(GtkMenuItem *menuitem, gpointer user_data);
61 * \brief load new dictionary files
64 void ws_gui_dictionary_loader(GtkMenuItem *menuitem, gpointer user_data);
67 * \brief load dictionary file using given filename
70 gboolean ws_gui_load_dict(gchar *filename, gpointer user_data);
73 * \brief remove dictionary from application
76 void ws_gui_dictionary_remover(GtkMenuItem *menuitem, gpointer user_data);
79 * \brief optimize dictionaries
82 void ws_gui_dictionary_optimizer(GtkMenuItem *menuitem, gpointer user_data);
85 * \brief open bookmark window
88 void ws_gui_dictionary_open_bookmark(GtkMenuItem *menuitem, gpointer user_data);
91 * \brief close bookmark window
94 void ws_gui_dictionary_close_bookmark(GtkMenuItem *menuitem,
98 * \brief add bookmark to bookmarks database
101 void ws_gui_dictionary_add_bookmark(GtkMenuItem *menuitem, gpointer user_data);
104 * \brief remove bookmark from database
107 void ws_gui_dictionary_remove_bookmark(GtkMenuItem *menuitem,
111 * \brief display information about application
114 void ws_gui_about_application(GtkMenuItem *menuitem, gpointer user_data);
117 * \brief creates Add Bookmark dialog window
120 void ws_gui_add_bookmark_dialog(gpointer user_data);
123 * \brief creates Remove Bookmark dialog window
126 void ws_gui_remove_bookmark_dialog(gpointer user_data);