473,395 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

drag and drop to icon

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

Apr 12 '06 #1
3 1978
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
Apr 12 '06 #2
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

Apr 12 '06 #3
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
Apr 12 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
4
by: zav | last post by:
Hi all i`m having a small problem with windows forms, i`m attempting to provide the following functionality to a form. Ability to drag and drop another form onto a form and then to dock this...
4
by: Qingdong Z. | last post by:
I have a VS.NET windows application which use drag-drop feather. It works fine when application start, but stops working after application run one or two days. The application is related to Video...
14
by: Nathan | last post by:
I'm working for the first time with the DoDragDrop method. I've got almost everything worked out, but I need some help with the last bit. There are two listboxes on my form, lstGroups and...
1
by: Kevin L | last post by:
I have a Panel control that I currently allow the user to drag and reposition on a form at runtime. This Panel control contains a Label control. I would like to allow the user to drag the PANEL...
0
by: Pesso | last post by:
I'm loading a text file to a RichTextBox control to drag a selection of a text and drop it into a tree view control. It works except after the drag and drop operation the RichTextBox scrolls to the...
1
by: timnels | last post by:
I have created a muti-select treeview control. Problem is I am now trying to implement drag/drop in the application that uses it. It seems the mouse down and mouse move events fire before the...
1
by: gilan | last post by:
I'm building a javascript WYSIWYG editor using designMode. My main problem right now is that I'm trying to create dragging functions for certain classes of divs, but Firefox's own designMode...
4
by: Jeff | last post by:
Hello, I am trying to drag and drop a label control from one cell in a tablelayoutpanel to another (VB2005). There is no problem if both cells are visible, but i cannot get the tablelayoutpanel...
2
by: bob | last post by:
Hi all, I have a treeview that has drag drop. Works well enough but... If you drag out of bounds of the treeview the nodrop icon comes on. Fair enough. But when I move back inside the treeview...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.