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

Re: Gtk2::TreeModel "rows-reordered" signal in Gtk2 1.0.61



* On Tue Jan 25, 2005 22:44:46 -0500, muppet wrote:
> 
> On Jan 25, 2005, at 8:45 PM, Tal Danzig wrote:
> 
> >I seem to have come across a bug in Gtk2 1.061.  The "rows-reordered" 
> >signal doesn't get triggered for a TreeModel when rows are dragged 
> >around in a Gtk2::TreeView.
> 
> Not a bug, behaving as designed.  (Arguably violating the principle of 
> least surprise...)
> 
> http://mail.gnome.org/archives/gtk-devel-list/2005-January/msg00103.html

Thanks for the pointer.  I just wish that the Gtk+ API docs had this
kind of useful information.

> A sibling post offers a workaround:
> 
> http://mail.gnome.org/archives/gtk-devel-list/2005-January/msg00102.html

Just connectiong to the TreeView's drag-end signal seems like enough, so
this is what I did.

- Tal

-- 
Tal Danzig        |   Libranet GNU/Linux
tal libranet com  |  http://libranet.com

GPG Fingerprint: 8BE6 B973 BC1C 0CA0 CEE5  4874 C741 0BD5 B3A2 5512
Public key available from subkeys.pgp.net

Attachment: pgp9yyEe1Cdmj.pgp
Description: PGP signature



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