Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ev-page-action.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2003, 2004 Marco Pesenti Gritti
3
* Copyright (C) 2003, 2004 Christian Persch
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2, or (at your option)
8
* any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
*
19
*/
20
21
#ifndef EV_PAGE_ACTION_H
22
#define EV_PAGE_ACTION_H
23
24
#include <gtk/gtk.h>
25
26
#include <
evince-document.h
>
27
#include <
evince-view.h
>
28
29
G_BEGIN_DECLS
30
31
#define EV_TYPE_PAGE_ACTION (ev_page_action_get_type ())
32
#define EV_PAGE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_PAGE_ACTION, EvPageAction))
33
#define EV_PAGE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_PAGE_ACTION, EvPageActionClass))
34
#define EV_IS_PAGE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_PAGE_ACTION))
35
#define EV_IS_PAGE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EV_TYPE_PAGE_ACTION))
36
#define EV_PAGE_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EV_TYPE_PAGE_ACTION, EvPageActionClass))
37
38
typedef
struct
_EvPageAction
EvPageAction
;
39
typedef
struct
_EvPageActionPrivate
EvPageActionPrivate
;
40
typedef
struct
_EvPageActionClass
EvPageActionClass
;
41
42
struct
_EvPageAction
43
{
44
GtkAction
parent
;
45
46
/*< private >*/
47
EvPageActionPrivate
*
priv
;
48
};
49
50
struct
_EvPageActionClass
51
{
52
GtkActionClass
parent_class
;
53
54
void (*
activate_link
) (
EvPageAction
*page_action,
55
EvLink
*link);
56
};
57
58
GType
ev_page_action_get_type
(
void
) G_GNUC_CONST;
59
60
void
ev_page_action_set_model
(
EvPageAction
*page_action,
61
EvDocumentModel
*model);
62
void
ev_page_action_set_links_model
(
EvPageAction
*page_action,
63
GtkTreeModel *links_model);
64
void
ev_page_action_grab_focus
(
EvPageAction
*page_action);
65
66
G_END_DECLS
67
68
#endif
evince-master
libmisc
ev-page-action.h
Generated on Thu Jul 13 2017 13:41:45 for Evince by
1.8.4