diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2025-05-22 02:37:08 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2025-05-22 02:37:08 (GMT) |
commit | c3fb323e06bafe2fa04a00c29cf07a7bf4e44b37 (patch) | |
tree | 7a756b9edce8262c7dfb072ecb8e003754dc0a07 /src/gtkext/grid.c | |
parent | 8ef19378427c1b2d88f72817ff2870445bf674d3 (diff) |
Notify panel [de]activations.
Diffstat (limited to 'src/gtkext/grid.c')
-rw-r--r-- | src/gtkext/grid.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gtkext/grid.c b/src/gtkext/grid.c index afc74b7..eb3cdf9 100644 --- a/src/gtkext/grid.c +++ b/src/gtkext/grid.c @@ -544,6 +544,35 @@ void gtk_tiling_grid_add_panel(GtkTilingGrid *grid, GtkTiledPanel *panel, bool k /****************************************************************************** * * +* Paramètres : grid = zone d'affichage en tuiles à 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_tiling_grid_notify_new_main_panel_state(const GtkTilingGrid *grid, GtkTiledPanel *main, bool activated) +{ + gtk_dock_station_notify_new_main_panel_state(grid->top_station, main, activated); + + gtk_dock_station_notify_new_main_panel_state(grid->left_station, main, activated); + + gtk_dock_station_notify_new_main_panel_state(grid->main_station, main, activated); + + gtk_dock_station_notify_new_main_panel_state(grid->right_station, main, activated); + + gtk_dock_station_notify_new_main_panel_state(grid->bottom_station, main, activated); + +} + + +/****************************************************************************** +* * * Paramètres : station = plateforme GTK ayant connu un changement. * * widget = nouvel élément à intégrer. * * grid = gestionnaire de placement en tuile concerné. * |