2
* This file is part of LaTeXila.
4
* Copyright © 2009 Sébastien Wilmet
6
* LaTeXila is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
11
* LaTeXila is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with LaTeXila. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef __TOOL_MENU_ACTION_H__
21
#define __TOOL_MENU_ACTION_H__
23
#include <gtk/gtkaction.h>
27
#define TYPE_TOOL_MENU_ACTION (tool_menu_action_get_type ())
28
#define TOOL_MENU_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_TOOL_MENU_ACTION, ToolMenuAction))
29
#define TOOL_MENU_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_TOOL_MENU_ACTION, ToolMenuActionClass))
30
#define IS_TOOL_MENU_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_TOOL_MENU_ACTION))
31
#define IS_TOOL_MENU_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_TOOL_MENU_ACTION))
33
typedef struct _ToolMenuAction ToolMenuAction;
34
typedef struct _ToolMenuActionClass ToolMenuActionClass;
36
struct _ToolMenuAction
38
GtkAction parent_instance;
41
struct _ToolMenuActionClass
43
GtkActionClass parent_class;
46
GType tool_menu_action_get_type (void);
47
GtkAction * tool_menu_action_new (const gchar *name, const gchar *label,
48
const gchar *tooltip, const gchar *stock_id);
52
#endif /* __TOOL_MENU_ACTION_H__ */