Hello all, I try to create animation using GtkCellPixmap in GtkTreeView using next code:
angle += PIXMAP_ROTATE_STEP; rotated_pixbuf = pixmap_rotate (original_pixbuf, angle); gtk_list_store_set (GTK_LIST_STORE (tree_model), &iter, FILE_LIST_COL_FILE_ICON, rotated_pixbuf, -1); this executes in g_timeout_add callback function. I find that function gtk_list_store_set is very slow. (cpu = 100% interval = 50 PIXMAP_ROTATE_STEP = 0.1f, cpu = 50% interval = 100 PIXMAP_ROTATE_STEP = 0.1f, cpu = 40% interval = 200 PIXMAP_ROTATE_STEP = 0.3f - this look bad) pixmap_rotate function use cpu for 0%. Maybe exists GtkCellRenderer that can halp me or another GtkTreeModel implementation? Thanks! and sorry for my bad english. -- Dubravin Andrey <[EMAIL PROTECTED]> _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list