Re: [gtk-list] GtkPixmap as a drag source
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] GtkPixmap as a drag source
- Date: Mon, 26 Jul 1999 22:49:22 -0700 (PDT)
On Tue, 27 Jul 1999, Dirk-Jan C. Binnema wrote:
>
> I'm trying to set a GtkPixmap as a drag source. However, this
> gives me a failed assertion !GTK_WIDGET_NO_WINDOW in the
> gtk_widget_add_events function in gtkwidget.c. However, setting
> a gtkbutton as a drag source works (as shown in the testdnd example),
> I would expect a gtkbutton to fail the same assertion....
>
Nope, GtkButton has a window.
> Anyway, how can I set a GtkPixmap as a drag source? Maybe wrap it in some
> other
> widget?
>
Place it inside a GtkEventBox, set the event box as the drag source.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]