Does ctree.selection work?
- From: Christian Robottom Reis <kiko async com br>
- To: <pygtk daa com au>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Does ctree.selection work?
- Date: Tue, 14 Aug 2001 13:23:30 -0300 (BRT)
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]