Hi,

I don't know whether this is a bug or just an idiosyncracy, but given

  tree = GtkCTree()
  node = tree.insert_node(None, None, ["hello"], is_leaf=TRUE)

you would expect the following to change the node to a non-leaf:

  info = list(tree.get_node_info(node))
  info[6] = FALSE
  apply(tree.set_node_info, [node] + info)

Instead it throws an exception:

TypeError: gtk_ctree_set_node_info, argument 5: expected GdkWindow,
None found

Is there any way of getting around this, short of actually using a
pixmap in the node?  Removing and re-inserting the node is not exactly
elegant...

Thanks,
-Rob

-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to