summaryrefslogtreecommitdiff
path: root/src/gtkext/easygtk.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-08-16 19:56:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-08-16 19:56:00 (GMT)
commit49af9c6449eb48d0ab1fb0893ad59b415f41d3cd (patch)
treebefea4317655a456c2a6c02a913143d101055cfd /src/gtkext/easygtk.h
parent7b3b76a1e6faff521d582902e1230acbe1a906d3 (diff)
Created some extra features for the GTK API.
Diffstat (limited to 'src/gtkext/easygtk.h')
-rw-r--r--src/gtkext/easygtk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtkext/easygtk.h b/src/gtkext/easygtk.h
index 86cba5f..58f1bca 100644
--- a/src/gtkext/easygtk.h
+++ b/src/gtkext/easygtk.h
@@ -92,6 +92,12 @@ GtkWidget *qck_create_menu_separator(void);
+/* Détermine l'indice d'un composant dans un conteneur GTK. */
+gint find_contained_child_index(GtkContainer *, GtkWidget *);
+
+/* Récupère le nième composant d'un conteneur GTK. */
+GtkWidget *get_nth_contained_child(GtkContainer *, guint);
+
/* Affiche une boîte de dialogue offrant un choix "Oui/Non". */
gint qck_show_question(GtkWindow *, const char *, const char *);