Updated Czech translation
[anjuta.git] / libanjuta / anjuta-dock-pane.h
blob8facc4cc37c31caf4654d7d94c1ff9b1af950045
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta
4 * Copyright (C) James Liggett 2010 <jrliggett@cox.net>
5 *
6 * git-shell-test 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 * git-shell-test 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_DOCK_PANE_H_
21 #define _ANJUTA_DOCK_PANE_H_
23 #include <glib-object.h>
24 #include <gtk/gtk.h>
25 #include <libanjuta/anjuta-plugin.h>
27 G_BEGIN_DECLS
29 #define ANJUTA_TYPE_DOCK_PANE (anjuta_dock_pane_get_type ())
30 #define ANJUTA_DOCK_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_DOCK_PANE, AnjutaDockPane))
31 #define ANJUTA_DOCK_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_DOCK_PANE, AnjutaDockPaneClass))
32 #define ANJUTA_IS_DOCK_PANE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_DOCK_PANE))
33 #define ANJUTA_IS_DOCK_PANE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_DOCK_PANE))
34 #define ANJUTA_DOCK_PANE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_DOCK_PANE, AnjutaDockPaneClass))
36 typedef struct _AnjutaDockPaneClass AnjutaDockPaneClass;
37 typedef struct _AnjutaDockPane AnjutaDockPane;
38 typedef struct _AnjutaDockPanePriv AnjutaDockPanePriv;
40 struct _AnjutaDockPaneClass
42 GObjectClass parent_class;
44 /* Virtual methods */
45 void (*refresh) (AnjutaDockPane *self);
46 GtkWidget * (*get_widget) (AnjutaDockPane *self);
48 /* Signals */
49 void (*single_selection_changed) (AnjutaDockPane *self);
50 void (*multiple_selection_changed) (AnjutaDockPane *self);
53 struct _AnjutaDockPane
55 GObject parent_instance;
57 AnjutaDockPanePriv *priv;
60 GType anjuta_dock_pane_get_type (void) G_GNUC_CONST;
61 void anjuta_dock_pane_refresh (AnjutaDockPane *self);
62 GtkWidget *anjuta_dock_pane_get_widget (AnjutaDockPane *self);
63 AnjutaPlugin *anjuta_dock_pane_get_plugin (AnjutaDockPane *self);
64 void anjuta_dock_pane_notify_single_selection_changed (AnjutaDockPane *self);
65 void anjuta_dock_pane_notify_multiple_selection_changed (AnjutaDockPane *self);
67 G_END_DECLS
69 #endif /* _ANJUTA_DOCK_PANE_H_ */