Re: GtkTreeView Drag and Drop -> Now urgent ! REPOST !
- From: Tristan Van Berkom <vantr touchtunes com>
- To: pommes <pommes teleos-web de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView Drag and Drop -> Now urgent ! REPOST !
- Date: Tue, 11 Feb 2003 15:15:20 -0500
I haven't used the treeview; but I'm
quite certain that the `element' recieving
the "drop" / "selection" etc... will emit
the signal you want; not the treeview itself.
Cheers,
-Tristan
pommes wrote:
Sorry for reposting, but the problem is getting urgent.....
Hi,
I am a little bit stucked using Drag'nd Drop with in the TV widget in
plain c.
I did this :
g_object_set (G_OBJECT (tv),
"reorderable",TRUE,
NULL);
, what works fine. The user can change the position and the order of the
tv, but I need to be informed what item goes where. (e.g. iter x with
path y goes to this path z, to update my data.
Can somebody please give me a hint how to track it ?
I tried use this;
gtk_signal_connect(GTK_OBJECT(tv),"drag_motion",GTK_SIGNAL_FUNC(MyMotion), NULL);
gtk_signal_connect(GTK_OBJECT(tv),"drag_end",GTK_SIGNAL_FUNC(MyDropFinish), NULL);
gtk_signal_connect(GTK_OBJECT(tv),"drag_data_received",GTK_SIGNAL_FUNC(pt_MyDragDataReceived), NULL);
But it did'nt pushed me any further, since I don't know how to get the
new destination path.
Thanks in advance,
P.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]