summaryrefslogtreecommitdiff
path: root/src/gui/editem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editem.c')
-rw-r--r--src/gui/editem.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gui/editem.c b/src/gui/editem.c
index 4848cc9..bf3dfa6 100644
--- a/src/gui/editem.c
+++ b/src/gui/editem.c
@@ -132,3 +132,28 @@ GtkWidget *g_editor_item_get_widget(const GEditorItem *item)
return item->widget;
}
+
+
+/******************************************************************************
+* *
+* Paramètres : bar = instance à actualiser. *
+* panel = composant d'affichage concerné par l'opération. *
+* *
+* Description : Réagit à un changement de focus des panneaux d'affichage. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void notify_focus_change_for_editor_item(GEditorItem *item, GLoadedPanel *panel)
+{
+ GEditorItemClass *klass; /* Classe correspondante */
+
+ klass = G_EDITOR_ITEM_GET_CLASS(item);
+
+ if (klass->notify_focus != NULL)
+ klass->notify_focus(item, panel);
+
+}