summaryrefslogtreecommitdiff
path: root/src/gtkext/panel.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-05-22 02:37:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-05-22 02:37:08 (GMT)
commitc3fb323e06bafe2fa04a00c29cf07a7bf4e44b37 (patch)
tree7a756b9edce8262c7dfb072ecb8e003754dc0a07 /src/gtkext/panel.c
parent8ef19378427c1b2d88f72817ff2870445bf674d3 (diff)
Notify panel [de]activations.
Diffstat (limited to 'src/gtkext/panel.c')
-rw-r--r--src/gtkext/panel.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gtkext/panel.c b/src/gtkext/panel.c
index 48019dc..f63cfa1 100644
--- a/src/gtkext/panel.c
+++ b/src/gtkext/panel.c
@@ -193,6 +193,32 @@ GListStore *gtk_tiled_panel_get_title_widgets(const GtkTiledPanel *panel, bool l
}
+/******************************************************************************
+* *
+* Paramètres : panel = panneau graphique à manipuler. *
+* main = panneau principal visé par l'opération. *
+* activated = nature du changement de statut : ajout, retrait ?*
+* *
+* Description : Note un ajout ou un retrait de panneau principal. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void gtk_tiled_panel_notify_new_main_panel_state(GtkTiledPanel *panel, GtkTiledPanel *main, bool activated)
+{
+ GtkTiledPanelClass *class; /* Classe à actionner */
+
+ class = GTK_TILED_PANEL_GET_CLASS(panel);
+
+ if (class->notify != NULL)
+ class->notify(panel, main, activated);
+
+}
+
+