1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
3 * anjuta-notebook-tabber
4 * Copyright (C) Johannes Schmid 2010 <jhs@gnome.org>
6 * anjuta-notebook-tabber is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * anjuta-notebook-tabber is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _ANJUTA_TABBER_H_
21 #define _ANJUTA_TABBER_H_
27 #define ANJUTA_TYPE_TABBER (anjuta_tabber_get_type ())
28 #define ANJUTA_TABBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_TABBER, AnjutaTabber))
29 #define ANJUTA_TABBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_TABBER, AnjutaTabberClass))
30 #define ANJUTA_IS_TABBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_TABBER))
31 #define ANJUTA_IS_TABBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_TABBER))
32 #define ANJUTA_TABBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_TABBER, AnjutaTabberClass))
34 typedef struct _AnjutaTabberClass AnjutaTabberClass
;
35 typedef struct _AnjutaTabber AnjutaTabber
;
36 typedef struct _AnjutaTabberPriv AnjutaTabberPriv
;
38 struct _AnjutaTabberClass
40 GtkContainerClass parent_class
;
45 GtkContainer parent_instance
;
47 AnjutaTabberPriv
* priv
;
50 GType
anjuta_tabber_get_type (void) G_GNUC_CONST
;
52 GtkWidget
* anjuta_tabber_new (GtkNotebook
* notebook
);
53 void anjuta_tabber_add_tab (AnjutaTabber
* tabber
, GtkWidget
* tab_label
);
57 #endif /* _ANJUTA_TABBER_H_ */