2 * Copyright (C) 2003, 2004 Marco Pesenti Gritti
3 * Copyright (C) 2003, 2004 Christian Persch
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)
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.
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.
23 #define EV_TYPE_NAVIGATION_ACTION_WIDGET (ev_navigation_action_widget_get_type ())
24 #define EV_NAVIGATION_ACTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_NAVIGATION_ACTION_WIDGET, EvNavigationActionWidget))
26 typedef struct _EvNavigationActionWidget EvNavigationActionWidget;
27 typedef struct _EvNavigationActionWidgetClass EvNavigationActionWidgetClass;
29 struct _EvNavigationActionWidget
31 GtkToggleToolButton parent;
36 struct _EvNavigationActionWidgetClass
38 GtkToggleToolButtonClass parent_class;
40 void (*show_menu) (EvNavigationActionWidget *widget);
43 GType ev_navigation_action_widget_get_type (void);
46 ev_navigation_action_widget_set_menu(EvNavigationActionWidget *widget, GtkWidget *menu);