Re: DND with a TreeModelFilter
- From: Murray Cumming <murrayc murrayc com>
- To: staffan gimaker se
- Cc: gtkmm-list gnome org
- Subject: Re: DND with a TreeModelFilter
- Date: Wed, 14 Jul 2010 13:04:02 +0200
On Wed, 2010-07-14 at 13:00 +0200, Staffan Gimåker wrote:
> Does anyone have a clue how to use DND with a TreeModelFilter, and what
> I'm doing wrong? I'm about ready to give up.
Sorry. I'll take a look at your test case tomorrow morning.
> > I attached a stripped down test case. It consists of a derived TreeModel
> > that overrides the row_draggable_vfunc() etc. methods and a class
> > derived from TreeView, overriding on_drag_data_received().
> >
> > Each of the overridden methods basically just print out the function
> > name and does little else.
> >
> > The good news is that the Gtk-WARNING disappears. The bad news is that
> > none of the overridden methods in my tree model are called. And even
> > worse, it also hangs my system. Not in a everything freezes way, but it
> > messes up the input system, the mouse in particular is left totally
> > unusable. The "hang" can only be cured with a restart or by killing the
> > application. To be on the safe side I recommend that you test run it by
> > doing:
> >
> > ./dndtest & sleep 15 && killall dndtest
> >
> > /Staffan
>
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]