diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 00:39:57 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-05 00:39:57 (GMT) |
commit | 1e3fa9b79ebe55698e2aa7d5484baec7e8400a8f (patch) | |
tree | c3581ceb7f8586f2f6822de563927a1246dd33a5 /src/gui/core/items.h | |
parent | 6122bb7f34b178d4c07285adae16afcc55294b1f (diff) |
Rewritten the whole API dealing with panels.
Diffstat (limited to 'src/gui/core/items.h')
-rw-r--r-- | src/gui/core/items.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/core/items.h b/src/gui/core/items.h index 7509b3b..39d6991 100644 --- a/src/gui/core/items.h +++ b/src/gui/core/items.h @@ -34,8 +34,11 @@ /* Procède à l'enregistrement d'un élément reactif de l'éditeur. */ void register_editor_item(GEditorItem *); -/* Retrouve un élément reactif de l'éditeur par son nom clef. */ -GEditorItem *find_editor_item_by_key(const char *); +/* Retrouve un élément reactif de l'éditeur par son type. */ +GEditorItem *find_editor_item_by_type(GType); + +/* Retire un des éléments reactifs de l'éditeur. */ +void unregister_editor_item(GEditorItem *); /* Lance une actualisation du fait d'un changement de contenu. */ void change_editor_items_current_content(GLoadedContent *); |