Re: Enable drag and drop for treeview?



Jonathon,

You've always got to on up me don't you? j/k

That does look easier to use than my idea. I could see some issues
with trying to match up drag/drop events (which i imagine could cause
either 1 or 2 signals to be fired).

Paul

On 5/2/07, Jonathon Jongsma <jonathon jongsma gmail com> wrote:
On 5/2/07, Jef Driesen <jefdriesen hotmail com> wrote:
> For my application, I want to be able to re-order rows in a treeview
> (treestore model) using drag and drop. According to the gtkmm book, I
> can use set_reorderable(). But how can I detect when a drag and drop
> operation is finished (to update the underlying database)? I can't find
> any signals to connect to. Am I missing something?
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>

What about Gtk::TreeModel::signal_rows_reordered() ?

--
jonner
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list




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