sbucci2 | Tout est dans le titre.
Est ce que c'est faisable ? si oui comment merci.
Voila comment je rempli une ligne :
Code :
- /* Filled line */
- static GtkTreeModel * create_and_fill_model (void)
- {
- GtkListStore *pw_Store;
- GtkTreeIter w_iter;
-
-
- pw_Store = gtk_list_store_new (NBFIELD, G_TYPE_STRING, G_TYPE_STRING,
- G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
- G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
- G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN);
- /* Append row and fill in some data */
- gtk_list_store_append (pw_Store, &w_iter);
- gtk_list_store_set (pw_Store, &w_iter,
- COL_DATE, "yyyy-mmm",
- COL_TIME, "00:00:00:00",
- COL_PRI, "Grave",
- COL_TYPE, "Type",
- COL_SITE, "Rambouillet",
- COL_EQUIP, "RS232",
- COL_MSG, "Erreur de lecteure du bus",
- COL_ATAG, "OOL",
- COL_VTAG, "VTAG",
- COL_CMT, "vive GTK",
- COL_FLAG, 1,
- -1);
-
-
- return GTK_TREE_MODEL (pw_Store);
- }
|
|