GtkPixmap as a drag source



Hi there,

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....

Anyway, how can I set a GtkPixmap as a drag source? Maybe wrap it in some
other
widget?

Thanks in advance,
    Dirk-Jan.



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