Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-find-sidebar.h
Go to the documentation of this file.
1 /* ev-find-sidebar.h
2  * this file is part of evince, a gnome document viewer
3  *
4  * Copyright (C) 2013 Carlos Garcia Campos <carlosgc@gnome.org>
5  * Copyright (C) 2008 Sergey Pushkin <pushkinsv@gmail.com >
6  *
7  * Evince is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * Evince is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef EV_FIND_SIDEBAR_H
23 #define EV_FIND_SIDEBAR_H
24 
25 #include <gtk/gtk.h>
26 
27 #include "ev-jobs.h"
28 
29 G_BEGIN_DECLS
30 
31 #define EV_TYPE_FIND_SIDEBAR (ev_find_sidebar_get_type ())
32 #define EV_FIND_SIDEBAR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), EV_TYPE_FIND_SIDEBAR, EvFindSidebar))
33 #define EV_IS_FIND_SIDEBAR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), EV_TYPE_FIND_SIDEBAR))
34 #define EV_FIND_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_FIND_SIDEBAR, EvFindSidebarClass))
35 #define EV_IS_FIND_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_FIND_SIDEBAR))
36 #define EV_FIND_SIDEBAR_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), EV_TYPE_FIND_SIDEBAR, EvFindSidebarClass))
37 
41 
43  GtkBox base_instance;
44 
46 };
47 
49  GtkBoxClass base_class;
50 };
51 
52 GType ev_find_sidebar_get_type (void);
53 GtkWidget *ev_find_sidebar_new (void);
54 
55 void ev_find_sidebar_start (EvFindSidebar *find_sidebar,
56  EvJobFind *job);
57 void ev_find_sidebar_restart (EvFindSidebar *find_sidebar,
58  gint page);
59 void ev_find_sidebar_update (EvFindSidebar *find_sidebar);
60 void ev_find_sidebar_clear (EvFindSidebar *find_sidebar);
61 void ev_find_sidebar_previous (EvFindSidebar *find_sidebar);
62 void ev_find_sidebar_next (EvFindSidebar *find_sidebar);
63 
64 G_END_DECLS
65 
66 #endif /* EV_FIND_SIDEBAR_H */
67