Heraia  0.1.8
result_window.h
Go to the documentation of this file.
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /*
3  result_window.h
4  result_window.h - A window that will collect all results of functions such as
5  find, find a data from type, ...
6 
7  (C) Copyright 2010 - 2011 Olivier Delhomme
8  e-mail : heraia@delhomme.org
9  URL : http://heraia.tuxfamily.org
10 
11  This program is free software; you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation; either version 2, or (at your option)
14  any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software
23  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 */
25 /**
26  * @file result_window.h
27  * Header file for the result window
28  */
29 #ifndef _HERAIA_RESULT_WINDOW_H_
30 #define _HERAIA_RESULT_WINDOW_H_
31 
32 /**
33  * Columns definition for the GtkListStore
34  * Used for :
35  * - find all button
36  */
37 enum {
43 };
44 
45 extern void result_window_show(GtkWidget *widget, gpointer data);
46 extern void result_window_init_interface(heraia_struct_t *main_struct);
47 extern void rw_add_one_tab_from_find_all_bt(heraia_struct_t *main_struct, GArray *all_pos, guint size, guchar *text);
48 extern void rw_remove_all_tabs(heraia_struct_t *main_struct, doc_t *doc);
49 
50 #endif /* _HERAIA_RESULT_WINDOW_H_ */
This is the main structure.
Definition: libheraia.h:332
void rw_remove_all_tabs(heraia_struct_t *main_struct, doc_t *doc)
Remove all tabs from the result window that correspond to the specified document. ...
Proposal for a structure that will group all informations about a single document.
Definition: libheraia.h:293
void rw_add_one_tab_from_find_all_bt(heraia_struct_t *main_struct, GArray *all_pos, guint size, guchar *text)
Add one tab for the results from the find all button.
void result_window_show(GtkWidget *widget, gpointer data)
Show result window.
Definition: result_window.c:52
void result_window_init_interface(heraia_struct_t *main_struct)
Inits all the things in the result window (signal and such)
Definition: result_window.c:70