]> Pileus Git - ~andy/gtk/blob - gtk/gtkseparatortoolitem.h
Modify the gettext translation domain for the gtk3 rename
[~andy/gtk] / gtk / gtkseparatortoolitem.h
1 /* gtktoggletoolbutton.h
2  *
3  * Copyright (C) 2002 Anders Carlsson <andersca@gnome.org>
4  * Copyright (C) 2002 James Henstridge <james@daa.com.au>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library 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 GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23 #error "Only <gtk/gtk.h> can be included directly."
24 #endif
25
26 #ifndef __GTK_SEPARATOR_TOOL_ITEM_H__
27 #define __GTK_SEPARATOR_TOOL_ITEM_H__
28
29 #include <gtk/gtktoolitem.h>
30
31 G_BEGIN_DECLS
32
33 #define GTK_TYPE_SEPARATOR_TOOL_ITEM            (gtk_separator_tool_item_get_type ())
34 #define GTK_SEPARATOR_TOOL_ITEM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItem))
35 #define GTK_SEPARATOR_TOOL_ITEM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass))
36 #define GTK_IS_SEPARATOR_TOOL_ITEM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM))
37 #define GTK_IS_SEPARATOR_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEPARATOR_TOOL_ITEM))
38 #define GTK_SEPARATOR_TOOL_ITEM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_SEPARATOR_TOOL_ITEM, GtkSeparatorToolItemClass))
39
40 typedef struct _GtkSeparatorToolItem        GtkSeparatorToolItem;
41 typedef struct _GtkSeparatorToolItemClass   GtkSeparatorToolItemClass;
42 typedef struct _GtkSeparatorToolItemPrivate GtkSeparatorToolItemPrivate;
43
44 struct _GtkSeparatorToolItem
45 {
46   GtkToolItem parent;
47
48   /*< private >*/
49   GtkSeparatorToolItemPrivate *GSEAL (priv);
50 };
51
52 struct _GtkSeparatorToolItemClass
53 {
54   GtkToolItemClass parent_class;
55
56   /* Padding for future expansion */
57   void (* _gtk_reserved1) (void);
58   void (* _gtk_reserved2) (void);
59   void (* _gtk_reserved3) (void);
60   void (* _gtk_reserved4) (void);
61 };
62
63 GType        gtk_separator_tool_item_get_type (void) G_GNUC_CONST;
64 GtkToolItem *gtk_separator_tool_item_new      (void);
65
66 gboolean     gtk_separator_tool_item_get_draw (GtkSeparatorToolItem *item);
67 void         gtk_separator_tool_item_set_draw (GtkSeparatorToolItem *item,
68                                                gboolean              draw);
69
70 G_END_DECLS
71
72 #endif /* __GTK_SEPARATOR_TOOL_ITEM_H__ */