summaryrefslogtreecommitdiff
path: root/src/gui/panels/panel.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-09 12:55:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-09 12:55:20 (GMT)
commitf8f804cf7ff9a62404b843cf303c762101572784 (patch)
treec35edc5dc8fb5ded9cc8d975d12a1eac2c3e330a /src/gui/panels/panel.h
parent235b34006d734d55333a182ffd8bbe7fbf8f54bc (diff)
Reorganized the whole code dealing with dockable panels.
Diffstat (limited to 'src/gui/panels/panel.h')
-rw-r--r--src/gui/panels/panel.h40
1 files changed, 7 insertions, 33 deletions
diff --git a/src/gui/panels/panel.h b/src/gui/panels/panel.h
index baf5fe7..bb46c5a 100644
--- a/src/gui/panels/panel.h
+++ b/src/gui/panels/panel.h
@@ -66,20 +66,23 @@ typedef enum _PanelItemPersonality
GType g_panel_item_get_type(void);
/* Crée un élément de panneau réactif. */
-GEditorItem *g_panel_item_new(PanelItemPersonality, GObject *, const char *, const char *, GtkWidget *, const char *);
+GPanelItem *g_panel_item_new(PanelItemPersonality, const char *, const char *, GtkWidget *, const char *);
/* Fournit une indication sur la personnalité du panneau. */
PanelItemPersonality gtk_panel_item_get_personality(const GPanelItem *);
+/* Fournit le chemin d'accès à utiliser pour les encapsulations. */
+const char *gtk_panel_item_get_path(const GPanelItem *);
+
/* Indique la définition d'un éventuel raccourci clavier. */
const char *gtk_panel_item_get_key_bindings(const GPanelItem *);
-/* Recherche un panneau à partir de son nom court. */
-GPanelItem *g_panel_item_get(const char *);
-
/* Place un panneau dans l'ensemble affiché. */
void g_panel_item_dock(GPanelItem *);
+/* Définit si le composant repose sur un support de l'éditeur. */
+void g_panel_item_set_dock_status(GPanelItem *, bool);
+
/* Indique si le composant repose sur un support de l'éditeur. */
bool g_panel_item_is_docked(const GPanelItem *);
@@ -88,33 +91,4 @@ void g_panel_item_undock(GPanelItem *);
-
-
-
-
-void save_panel_nodes(void);
-
-
-
-
-
-
-/* ----------------------- PLACEMENTS DES DIFFERENTS PANNEAUX ----------------------- */
-
-
-/* Prépare le terrain pour l'affichage central. */
-GtkWidget *init_panels2(GCallback, gpointer);
-
-/* Charge les principaux panneaux de l'éditeur. */
-void load_main_panels(GObject *);
-
-
-/* Réalise un traitement sur un panneau de l'éditeur. */
-typedef bool (* handle_panel_item_fc) (GPanelItem *, void *);
-
-/* Effectue le parcours de tous les panneaux chargés. */
-bool browse_all_item_panels(handle_panel_item_fc, void *);
-
-
-
#endif /* _GUI_PANELS_PANEL_H */