It is best to use the get_node_info() function for getting information
about the tree column on the ctree. Anything else is not portable if the
implementation of ctree changes in the future.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 23 Jun 1999, Mitch Chapman wrote:
> When I invoke get_column_pixtext() on the first column of
> a GtkCTree, I get the following message on stderr:
>
> Gdk-CRITICAL **: file gdkwindow.c: line 716: assertion `window != NULL'
> failed.
>
> The apparent reason is that the tree returns both a NULL pixmap mask
> and a NULL pixmap. (Yet you must use ...get_pixtext() to get the
> text of the first column, because of the cell type.)
>
> gtkmodule's _wrap_gtk_ctree_node_get_pixtext() already checks for
> a NULL pixmap mask. The attached context diff makes it also check
> for a NULL pixmap, before attempting to create a PyGdkWindow for
> it.
>
> The context diff was created against pygtk 0.6.1, and was
> tested under IRIX 6.5.
>
> --
> Mitch Chapman
> [EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]