summaryrefslogtreecommitdiff
path: root/src/gtkext/dockstation-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-04-16 08:38:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-04-16 08:38:25 (GMT)
commit597ccba5285e5423bfe63d010b23293b62b452d4 (patch)
tree73b783e0259f6609b282c7f3fdc6ab62245256a1 /src/gtkext/dockstation-int.h
parent91ff093198c22d474d3fe0fd6fa290d95dbffb79 (diff)
Rewrite the tiling layout using widgets.
Diffstat (limited to 'src/gtkext/dockstation-int.h')
-rw-r--r--src/gtkext/dockstation-int.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/gtkext/dockstation-int.h b/src/gtkext/dockstation-int.h
index a44371a..17ed828 100644
--- a/src/gtkext/dockstation-int.h
+++ b/src/gtkext/dockstation-int.h
@@ -32,19 +32,29 @@
/* Station de réception pour concentration d'éléments (instance) */
struct _GtkDockStation
{
- GtkWidget parent; /* A laisser en premier */
+ GtkBox parent; /* A laisser en premier */
+
+ GtkOrientation orientation; /* Spécification d'orientation */
+
+ GtkWidget *tabs; /* Bascule entre panneaux */
+ GtkWidget *toolbar; /* Boutons d'action */
+ GtkWidget *sep1; /* Séparateur #1 */
+ GtkStack *stack; /* Pile de panneaux affichés */
+ GtkWidget *sep2; /* Séparateur #2 */
+
+ GtkTiledPanel *def_panel; /* Eventuel panneau à maintenir*/
};
/* Station de réception pour concentration d'éléments (classe) */
struct _GtkDockStationClass
{
- GtkWidgetClass parent; /* A laisser en premier */
+ GtkBoxClass parent; /* A laisser en premier */
/* Signaux */
- void (* dock_widget) (GtkDockStation *, GtkWidget *);
- void (* undock_widget) (GtkDockStation *, GtkWidget *);
+ void (* panel_docked) (GtkDockStation *, GtkTiledPanel *);
+ void (* panel_undocked) (GtkDockStation *, GtkTiledPanel *);
void (* switch_widget) (GtkDockStation *, GtkWidget *);