diff options
Diffstat (limited to 'src/gui/panels/panel.c')
-rw-r--r-- | src/gui/panels/panel.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c index a12c675..b13c074 100644 --- a/src/gui/panels/panel.c +++ b/src/gui/panels/panel.c @@ -285,6 +285,30 @@ void g_panel_item_dock(GPanelItem *item) /****************************************************************************** * * +* Paramètres : item = composant à retirer de l'affichage. * +* * +* Description : Supprime un panneau de l'ensemble affiché. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +void g_panel_item_undock(GPanelItem *item) +{ + GtkWidget *station; /* Base du remplacement */ + + station = gtk_widget_get_parent(G_EDITOR_ITEM(item)->widget); /* NoteBook */ + station = gtk_widget_get_parent(station); /* DockStation */ + + gtk_dock_panel_remove_widget(GTK_DOCK_STATION(station), G_EDITOR_ITEM(item)->widget); + +} + + +/****************************************************************************** +* * * Paramètres : base = support sujet à analyse. * * pos = position de la tête de lecture dans le chemin. * * target = indentifiant de positionnement recherché. * |