summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkdockstation.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-01-11 02:20:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-01-11 02:20:30 (GMT)
commit486f0bf0a27ffed3e9fde2f183974ae029b45c54 (patch)
tree8840eaab0629f83e7501506b91101ce4f2d42a5d /src/gtkext/gtkdockstation.h
parent6ebdbfbca9e7bc34fe0f280e4a6a65c24c5003e9 (diff)
Defined new panel definitions for the editor GUI.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@223 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkdockstation.h')
-rw-r--r--src/gtkext/gtkdockstation.h94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/gtkext/gtkdockstation.h b/src/gtkext/gtkdockstation.h
new file mode 100644
index 0000000..c92f43d
--- /dev/null
+++ b/src/gtkext/gtkdockstation.h
@@ -0,0 +1,94 @@
+
+/* OpenIDA - Outil d'analyse de fichiers binaires
+ * gtkdockstation.h - prototypes pour la manipulation et l'affichage de composants rassemblés
+ *
+ * Copyright (C) 2012 Cyrille Bagard
+ *
+ * This file is part of OpenIDA.
+ *
+ * OpenIDA is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenIDA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _GTKEXT_GTKDOCKSTATION_H
+#define _GTKEXT_GTKDOCKSTATION_H
+
+
+#include <gtk/gtk.h>
+
+
+G_BEGIN_DECLS
+
+
+#define GTK_TYPE_DOCK_STATION (gtk_dock_station_get_type())
+#define GTK_DOCK_STATION(obj) GTK_CHECK_CAST(obj, gtk_dock_station_get_type (), GtkDockStation)
+#define GTK_DOCK_STATION_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gtk_dock_station_get_type(), GtkDockStationClass)
+#define GTK_IS_DOCK_STATION(obj) GTK_CHECK_TYPE(obj, gtk_dock_station_get_type())
+
+
+/* Station de réception pour concentration d'éléments (instance) */
+typedef struct _GtkDockStation GtkDockStation;
+
+/* Station de réception pour concentration d'éléments (classe) */
+typedef struct _GtkDockStationClass GtkDockStationClass;
+
+
+/* Station de réception pour concentration d'éléments (instance) */
+struct _GtkDockStation
+{
+ GtkVBox vbox; /* Présence obligatoire en 1er */
+
+ GtkLabel *title; /* Title du support principal */
+ GtkNotebook *notebook; /* Support à onglets */
+
+};
+
+/* Station de réception pour concentration d'éléments (classe) */
+struct _GtkDockStationClass
+{
+ GtkVBoxClass parent_class; /* Présence obligatoire en 1er */
+
+};
+
+
+/* Détermine le type du composant d'affichage concentré. */
+GtkType gtk_dock_station_get_type(void);
+
+/* Crée un nouveau composant pour support d'affichage concentré. */
+GtkWidget *gtk_dock_station_new(void);
+
+/* Ajoute un paquet d'informations à l'affichage centralisé. */
+void gtk_dock_panel_add_widget(GtkDockStation *, GtkWidget *, const char *);
+
+/* Met à jour, si besoin est, le titre de l'affichage concentré. */
+void gtk_dock_panel_update_title(GtkDockStation *, GtkWidget *, const char *);
+
+/* Renvoie un composant intégré dans l'affichage centralisé. */
+GtkWidget *gtk_dock_panel_get_widget(GtkDockStation *, gint);
+
+
+
+/* Ajoute un nouveau composant à l'ensemble. */
+//void gtk_dock_station_add_item(GtkDockStation *, GDockItem *);
+
+/* Supprime un composant à l'ensemble. */
+//void gtk_dock_station_remove_item(GtkDockStation *, GDockItem *);
+
+
+
+G_END_DECLS
+
+
+
+#endif /* _GTKEXT_GTKDOCKSTATION_H */