Re: [pygtk] How do I get the row count from a CList/CTree?

1999-12-15 Thread Andreas Degert
John Ehresman [EMAIL PROTECTED] writes: Is there any method or attribute that will return the # of rows of data in a CList (and CTree by extension)? I don't know about any way to get this info in pygtk. The CList has an instance variable rows which could be wrapped by pygtk. Another

Re: [pygtk] How do I get the row count from a CList/CTree?

1999-12-15 Thread James Henstridge
You would use the GtkCTree.node_moveto function. You probably want something like: ctree.node_moveto(node, 0, 0.5, 0.0) The second argument is a column number, the third is the vertical row alignment, and the last is the column alignment (I used 0.0 to put the 0th column at the left of the

Re: [pygtk] How do I get the row count from a CList/CTree?

1999-12-15 Thread David M. Cook
On Mon, Dec 13, 1999 at 12:35:44PM -0500, John Ehresman wrote: Is there any method or attribute that will return the # of rows of data in a CList (and CTree by extension)? For a clist I just keep track of the last row I appended: for row in rows: last = clist.append(row) Also, if you

[pygtk] How do I get the row count from a CList/CTree?

1999-12-13 Thread John Ehresman
Is there any method or attribute that will return the # of rows of data in a CList (and CTree by extension)? Thanks, John To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]