summaryrefslogtreecommitdiff
path: root/src/gui/panel-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2025-02-20 21:37:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2025-02-20 21:37:10 (GMT)
commit0bec2b96a14da29a680aafe54895fd9cfb3bcf09 (patch)
treeba2dd91ed51cd0fb0eb801439271028fbf1c6f81 /src/gui/panel-int.h
parentf58a0e1138a3a3b8a4cfa237f1fe75a24ea8e2ba (diff)
Create a GTK widget to launch panels.
Diffstat (limited to 'src/gui/panel-int.h')
-rw-r--r--src/gui/panel-int.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/panel-int.h b/src/gui/panel-int.h
index 7e6f7e3..6a9fcc5 100644
--- a/src/gui/panel-int.h
+++ b/src/gui/panel-int.h
@@ -34,7 +34,10 @@
typedef PanelItemPersonality (* get_panel_item_personality_cb) (const GPanelItem *);
/* Fournit un composant pour lancer l'activité d'un panneau. */
-typedef GtkWidget * (* get_panel_item_widget_cb) (GPanelItem *);
+typedef GtkPanelLauncher * (* get_panel_item_launcher_cb) (GPanelItem *);
+
+/* Fournit un composant pour paramétrer l'activité d'un panneau. */
+typedef GtkWidget * (* get_panel_item_props_cb) (GPanelItem *);
/* Fournit un composant représentant un panneau graphique. */
typedef GtkTiledPanel * (* get_panel_item_panel_cb) (GPanelItem *, GtkWidget *);
@@ -45,7 +48,7 @@ struct _GPanelItem
{
GObject parent; /* A laisser en premier */
- GtkWidget *launcher; /* Eventuel lanceur associé */
+ GtkPanelLauncher *launcher; /* Eventuel lanceur associé */
GtkWidget *properties; /* Propriétés de lancement */
GtkTiledPanel **panels; /* Instances complètes ouvertes*/
@@ -60,8 +63,8 @@ struct _GPanelItemClass
get_panel_item_personality_cb get_personality; /* Fourniture de nature */
- get_panel_item_widget_cb get_launcher; /* Lancement d'une activité */
- get_panel_item_widget_cb get_properties;/* Préparation au lancement */
+ get_panel_item_launcher_cb get_launcher;/* Lancement d'une activité */
+ get_panel_item_props_cb get_properties; /* Préparation au lancement */
get_panel_item_panel_cb get_panel; /* Panneau principal */
};