Re: collapse/expand TreeView



On 6/20/05, muppet <scott asofyet org> wrote:
What's interesting is that your error message (from the earlier post) mentions
a GtkRange, a type which doesn't appear anywhere in the example you cited.
Are you sure the bug isn't in your adaptation of the example code?

I have just tested again.
Downloaded the source code from the cvs site, saved it as
cellrender_progress.pl, made it executable and run.
I have an infinite output like this:

GLib-GObject-WARNING **: invalid cast from `GtkTreeView' to `GtkRange'
at ./cellrender_progress.pl line 87.

I didn't make any adaptation. Line 87 of the code is:

 $style->paint_box ($window,
                     'normal', 'in',
                     undef, $widget, "trough",
                     $cell_area->x + $x_offset + $xpad,
                     $cell_area->y + $y_offset + $ypad,
                     $width - 1, $height - 1);

 
Fabio



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