diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-11-12 20:03:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-11-12 20:03:12 (GMT) |
commit | 771f21b9d5dd2b394359304a660418bbc84befda (patch) | |
tree | 60d6a9350d388f2db7ad571e6edddf46a99444f2 /src/gui/editem.c | |
parent | de62d34d2dc6135b42af7f8a103c8c7af09fd54f (diff) |
Defined a new interface for displaying loaded contents.
Diffstat (limited to 'src/gui/editem.c')
-rw-r--r-- | src/gui/editem.c | 25 |
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); + +} |