~ubuntu-branches/ubuntu/precise/latexila/precise

« back to all changes in this revision

Viewing changes to src/tool_menu_action.h

  • Committer: Bazaar Package Importer
  • Author(s): Tanguy Ortolo
  • Date: 2010-04-26 22:13:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100426221300-6pa79a1yk5tino7y
Tags: upstream-0.2.0
Import upstream version 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of LaTeXila.
 
3
 *
 
4
 * Copyright © 2009 Sébastien Wilmet
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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/>.
 
18
 */
 
19
 
 
20
#ifndef __TOOL_MENU_ACTION_H__
 
21
#define __TOOL_MENU_ACTION_H__
 
22
 
 
23
#include <gtk/gtkaction.h>
 
24
 
 
25
G_BEGIN_DECLS
 
26
 
 
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))
 
32
 
 
33
typedef struct _ToolMenuAction          ToolMenuAction;
 
34
typedef struct _ToolMenuActionClass     ToolMenuActionClass;
 
35
 
 
36
struct _ToolMenuAction
 
37
{
 
38
        GtkAction parent_instance;
 
39
};
 
40
 
 
41
struct _ToolMenuActionClass
 
42
{
 
43
        GtkActionClass parent_class;
 
44
};
 
45
 
 
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);
 
49
 
 
50
G_END_DECLS
 
51
 
 
52
#endif /* __TOOL_MENU_ACTION_H__ */