why...



... doesnt this work?

node = gtk_ctree_insert_node(GTK_CTREE(ctree), NULL, NULL, text, 0,
NULL, NULL, NULL, NULL, TRUE, TRUE);
gtk_ctree_insert_node(GTK_CTREE(ctree), GTK_CTREE_NODE(node), NULL,
text, 0, NULL, NULL, NULL, NULL, TRUE, TRUE);
gtk_table_attach(GTK_TABLE(table), ctree, 0, 2, 2, 3,
GTK_EXPAND|GTK_SHRINK|GTK_FILL, 0, 0, 0);
gtk_widget_show_all(window);

The code seems to generate only 1 top level node.

I've fixed my previous problem to some extent - the table now resizes
correctly, but I still can't right align my labels.




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