]> www.fi.muni.cz Git - evince.git/blob - libmisc/ev-page-action-widget.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libmisc / ev-page-action-widget.h
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 #include <evince-view.h>
22  
23 #include <gtk/gtk.h>
24
25 #define EV_TYPE_PAGE_ACTION_WIDGET (ev_page_action_widget_get_type ())
26 #define EV_PAGE_ACTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_PAGE_ACTION_WIDGET, EvPageActionWidget))
27
28 typedef struct _EvPageActionWidget EvPageActionWidget;
29 typedef struct _EvPageActionWidgetClass EvPageActionWidgetClass;
30
31 struct _EvPageActionWidgetClass
32 {
33         GtkToolItemClass parent_class;
34
35         void (* activate_link) (EvPageActionWidget *page_action,
36                                 EvLink             *link);
37 };
38
39 GType ev_page_action_widget_get_type          (void) G_GNUC_CONST;
40
41 void ev_page_action_widget_update_links_model (EvPageActionWidget *proxy,
42                                                GtkTreeModel       *model);
43
44 void ev_page_action_widget_set_model          (EvPageActionWidget *action_widget,
45                                                EvDocumentModel    *doc_model);
46 void ev_page_action_widget_grab_focus         (EvPageActionWidget *proxy);