RE: gtk_paint_foo - GdkWindow or GdkDrawable?



> using custom GtkCellRenderers, and attempting to use a custom 
> renderer in a reorderable TreeView, i've discovered that when 
> the row is being dragged, that argument is a GdkDrawable 
> (specifically, a GdkPixmap) rather than a GdkWindow.
> 
> the problem is that the gtk2-perl wrappers for the 
> gtk_paint_foo() functions attempt to verify that the 'window' 
> arg is actually a GdkWindow, since that's what the C call 
> signature asks for.

This was a problem for gtkmm too. I think it should be fixed for you in GTK+
2.3, but gtk2-perl will probably need updating for the slight API change, in
order to actually benefit from it:
http://bugzilla.gnome.org/show_bug.cgi?id=102678

Murray Cumming
www.murrayc.com
murrayc usa net



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