Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > drag and drop to icon

Reply
Thread Tools

drag and drop to icon

 
 
Eric S. Johansson
Guest
Posts: n/a
 
      04-12-2006
I have a small problem that may be best solved by dragging and dropping
a mail message to an icon. But I'm honestly not sure what the data will
look like from different e-mail clients. Since most of my programming
experience is something a user rarely sees, I'm not even sure where to
start creating a test case.

I would appreciate pointers to documentation (and yes I did Google
before asking) how to create an icon on a desktop (Macintosh and
Windows) and have that icon act on something which has been dropped on it.

many thanks for any assistance

---eric

 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      04-12-2006
Eric S. Johansson wrote:

> I have a small problem that may be best solved by dragging and dropping
> a mail message to an icon. But I'm honestly not sure what the data will
> look like from different e-mail clients. Since most of my programming
> experience is something a user rarely sees, I'm not even sure where to
> start creating a test case.
>
> I would appreciate pointers to documentation (and yes I did Google
> before asking) how to create an icon on a desktop (Macintosh and
> Windows) and have that icon act on something which has been dropped on it.


Drag'n'Drop is highly OS-dependand and clearly out of scope for
standard-out-of-the-box python. If you are on macintosh, pyobjc and

http://www.cocoadev.com/index.pl?DragAndDrop

will certainly help.

HTH,

Diez
 
Reply With Quote
 
 
 
 
Eric S. Johansson
Guest
Posts: n/a
 
      04-12-2006
Diez B. Roggisch wrote:
> Eric S. Johansson wrote:
> Drag'n'Drop is highly OS-dependand and clearly out of scope for
> standard-out-of-the-box python. If you are on macintosh, pyobjc and
>
> http://www.cocoadev.com/index.pl?DragAndDrop
>
> will certainly help.


it does, thank you. as for drag and drop being highly GUI dependent, I
was under the impression that the standard toolkits like tkinter had
some form of abstraction for drag-and-drop built-in. I wasn't sure if
it was possible to leverage some small portion of that for my application.

---eric

 
Reply With Quote
 
Diez B. Roggisch
Guest
Posts: n/a
 
      04-12-2006
Eric S. Johansson wrote:

> it does, thank you. as for drag and drop being highly GUI dependent, I
> was under the impression that the standard toolkits like tkinter had
> some form of abstraction for drag-and-drop built-in. I wasn't sure if
> it was possible to leverage some small portion of that for my application.


They might include some default-dnd stuff, e.g. dragging text around. But
ususally, one has to do all sorts funky "I'm ineterested in this, but not
that"-registration stuff.

diez
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag and Drop and Generate Graphic backstreetboy Java 0 10-22-2007 08:29 AM
Q:How to "drag and drop" jpg's into html and have the code write itself? mr_cross HTML 11 10-11-2006 10:27 PM
Firefox Deer Park Unix: turning off drag&drop? (paper sheet icon) ted@loft.tnolan.com (Ted Nolan Firefox 0 02-02-2006 10:40 PM
Drag n Drop to icon on windows desktop ebby83@gmail.com Java 1 01-05-2005 10:35 AM
Drag & Drop API: get source component in drop traget 'dragOver' Oliver Klein Java 0 08-24-2003 12:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57