gtk_paint_foo - GdkWindow or GdkDrawable?
- From: "muppet" <scott asofyet org>
- To: gtk-devel-list gnome org
- Subject: gtk_paint_foo - GdkWindow or GdkDrawable?
- Date: Wed, 29 Oct 2003 10:45:29 -0500 (EST)
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.
however, from reading the source of gtk/gtkstyle.c, it appears that it's safe
to have the wrappers accept any GdkDrawable rather than specifically
GdkWindows.
is there any reason this is not true?
if not, should i log that as an API bug?
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]