summaryrefslogtreecommitdiff
path: root/src/gui/panels/panel-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels/panel-int.h')
-rw-r--r--src/gui/panels/panel-int.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gui/panels/panel-int.h b/src/gui/panels/panel-int.h
index 8f5f42f..3f5213d 100644
--- a/src/gui/panels/panel-int.h
+++ b/src/gui/panels/panel-int.h
@@ -41,10 +41,13 @@
/* Place un panneau dans l'ensemble affiché. */
-typedef void (* ack_dock_process_fc) (GPanelItem *item);
+typedef void (* ack_dock_process_fc) (GPanelItem *);
/* Supprime un panneau de l'ensemble affiché. */
-typedef void (* ack_undock_process_fc) (GPanelItem *item);
+typedef void (* ack_undock_process_fc) (GPanelItem *);
+
+/* Démarre l'actualisation du filtrage du contenu. */
+typedef void (* update_filtered_fc) (GPanelItem *);
/* Elément réactif pour panneaux de l'éditeur (instance) */
@@ -63,6 +66,8 @@ struct _GPanelItem
bool docked; /* Panneau inscrusté ? */
+ char *filter; /* Eventuel filtre textuel */
+
/**
* La gestion générique du constructeur repose sur quelques
* prérequis quant à l'enregistrement de composants :
@@ -92,9 +97,14 @@ struct _GPanelItemClass
bool unique; /* Panneau instanciable ? */
const char *bindings; /* Raccourci clavier éventuel */
+ bool can_search; /* Contenu fouillable ? */
+ bool can_be_closed; /* Fermeture possible ? */
+
ack_dock_process_fc ack_dock; /* Prise en compte d'accroche */
ack_undock_process_fc ack_undock; /* Prise en compte de décroche */
+ update_filtered_fc update_filtered; /* Lancement du filtrage */
+
wgroup_id_t gid; /* Groupe de travail dédié */
/* Signaux */