Re: collapse/expand TreeView




On Jun 19, 2005, at 2:57 PM, The Saltydog wrote:

I was studying the cellrenderer_progress example in cvs:
http://cvs.sourceforge.net/viewcvs.py/gtk2-perl/gtk2-perl-xs/Gtk2/ examples/cellrenderer_progress.pl?rev=1.1&view=log

but the code is buggy. I am getting a long list of:

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

Do you confirm this warning also on your systems?

The example works for me without any warnings. What versions of gtk+ and Gtk2 do you have? I tested with

$ perl -MGtk2 -e 'print "$Gtk2::VERSION\n"'
1.080
$ pkg-config --modversion gtk+-2.0
2.4.14

and my CVS HEAD sandbox, which has

$ perl -MGtk2 -e 'print "$Gtk2::VERSION\n"; print join(".", Gtk2- >get_version_info)."\n";'
1.091
2.7.0


--
Without treatment, a common cold will last about seven days.
With treatment, it will last about a week.
  -- conventional wisdom




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