Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Receiving a Drop from QT/GTK

1 view
Skip to first unread message

maxlo

unread,
Jul 24, 2008, 12:12:29 PM7/24/08
to
Hello,

I am writing a Motiff app, and trying to receive a drop from either
konqueror or nautilus, but it seems that it is not possible.
I have tried xplore [1], a file manager written with Motif: it can
drag and drop *to* QT/GTK apps, but can not receive. Also, I found
similar statements in KDE (2.0... rather old, I know) documentation
[2].

So, I am still in doubt: is to possible for a Motif application to
receive drops from a QT/GTK applications?

Thanks in advance,
Maxi

[1] http://www.musikwissenschaft.uni-mainz.de/~ag/xplore/FAQ.html#1-4
[2] http://developer.kde.org/documentation/books/kde-2.0-development/ch07.html#ch07lev1sec1

Bill

unread,
Jul 28, 2008, 9:30:44 AM7/28/08
to
> So, I am still in doubt: is to possible for a Motif application to
> receive drops from a QT/GTK applications?

I think gtk apps use either "text/plain" or "text/uri-list" -- you can
define X atoms for these, then add them to your list of targets.
Snd's snd-xdrop.c has example code (I just tested it with Nautilus).

0 new messages