Updated Spanish translation
[anjuta.git] / src / anjuta-window.h
blobd1247996a4effcd599bd8d13f3f2d1df30ce0bae
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta-window.h
4 * Copyright (C) 2003 Naba Kumar <naba@gnome.org>
6 * This program 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 Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef _ANJUTA_WINDOW_H_
22 #define _ANJUTA_WINDOW_H_
24 #include <gmodule.h>
25 #include <gdl/gdl-dock-layout.h>
26 #include <libanjuta/anjuta-status.h>
27 #include <libanjuta/anjuta-ui.h>
28 #include <libanjuta/anjuta-preferences.h>
29 #include <libanjuta/anjuta-plugin-manager.h>
30 #include <libanjuta/anjuta-profile-manager.h>
32 G_BEGIN_DECLS
34 #define ANJUTA_TYPE_WINDOW (anjuta_window_get_type ())
35 #define ANJUTA_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_WINDOW, AnjutaWindow))
36 #define ANJUTA_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_WINDOW, AnjutaWindowClass))
37 #define ANJUTA_IS_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_WINDOW))
38 #define ANJUTA_IS_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_WINDOW))
40 typedef struct _AnjutaWindow AnjutaWindow;
41 typedef struct _AnjutaWindowClass AnjutaWindowClass;
43 struct _AnjutaWindow
45 GtkApplicationWindow parent;
46 GtkWidget *toolbar;
47 GtkWidget *view_menu;
48 GtkWidget *dock;
49 GdlDockLayout *layout_manager;
51 GHashTable *values;
52 GHashTable *widgets;
53 gboolean maximized;
55 GtkAccelGroup *accel_group;
57 AnjutaStatus *status;
58 AnjutaUI *ui;
59 AnjutaPreferences *preferences;
60 GSettings* settings;
61 AnjutaPluginManager *plugin_manager;
62 AnjutaProfileManager *profile_manager;
64 gint save_count;
67 struct _AnjutaWindowClass
69 GtkApplicationWindowClass klass;
72 GType anjuta_window_get_type (void);
73 GtkWidget* anjuta_window_new (GtkApplication* app);
75 void anjuta_window_set_geometry (AnjutaWindow *win, const gchar *geometry);
76 gchar* anjuta_window_get_geometry (AnjutaWindow *win);
77 void anjuta_window_layout_reset (AnjutaWindow *win);
78 void anjuta_window_install_preferences (AnjutaWindow *win);
80 G_END_DECLS
82 #endif