gtkctree



Hi there,

When I try to see a gtkctree with about 10,000 objects,
it stops showing contents about object 853.

Increasing the window size doesn't change nothing,
I still see only the same about 853 objects, so I
guess this is not related with the scrolled window,
What am I doing wrong? I am aware of the GdkWindow
limitation for GtkTree, but I thought GtkCTree didn't
have this problem... Help anyone?

Carlos

----- code ----------
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_box_pack_start (GTK_BOX (vbox), scrolled_window, TRUE, TRUE, 0);
gtk_widget_show (scrolled_window);

ctree = gtk_ctree_new (1, 0);
gtk_ctree_set_indent (GTK_CTREE (ctree), 12);
gtk_ctree_set_spacing (GTK_CTREE (ctree), 3);
gtk_ctree_set_line_style (GTK_CTREE (ctree), GTK_CTREE_LINES_SOLID);
gtk_ctree_set_expander_style (GTK_CTREE (ctree), GTK_CTREE_EXPANDER_SQUARE);
gtk_clist_set_selection_mode (GTK_CLIST (ctree), GTK_SELECTION_MULTIPLE);

gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), ctree);
gtk_widget_show (ctree);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]