Does ctree.selection work?



Has anybody successfully used ctree's selection attribute? In my case, it
returns:

[137051380]

or another odd list with an int inside it. Is this expected? From my view
of the code:

for (selection = GTK_CLIST(PyGtk_Get(clist))->selection; selection !=
NULL;
       selection = selection->next) {
    row = GPOINTER_TO_UINT(selection->data);
    py_int = PyInt_FromLong(row);

this might be wrong - isn't selection->data a GtkCTreeRow?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL





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