WIP: Allo Houston ? « GtkExpander * » attendu mais l'argument est de type « GtkTreeExpander * » <<<

This commit is contained in:
Jean Sirmai 2024-02-11 09:42:16 +01:00
parent faa7ddc14c
commit 0c9ff6c82e
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 2 additions and 4 deletions

View File

@ -28,9 +28,9 @@
#include "../../include/base.h"
#include "../../include/ui.h"
static void and_now_let_s_climb_that_tree (GtkWidget *in_that_box);
// This function is a placeholder. You need to implement the logic based on your tree structure.
static void on_destroy (GtkWidget *widget, gpointer data) {if (data) g_print (data); exit (0);}
static GListModel* create_child_model (const gchar* parent) {
GtkStringList* list = gtk_string_list_new (NULL);
if (g_strcmp0 (parent, "Parent Item 1") == 0) {
@ -42,8 +42,6 @@ static GListModel* create_child_model (const gchar* parent) {
return G_LIST_MODEL (list);
}
static void on_destroy (GtkWidget *widget, gpointer data) {if (data) g_print (data); exit (0);}
static void on_bind_list_item_cb (GtkListItemFactory* factory, GtkListItem* list_item, gpointer user_data)
{
GObject* item = gtk_list_item_get_item (list_item);