On Sat, Nov 22, 2003 at 05:06:10PM +0100, Walter Anger wrote: > I suppose you are asking two questions: > 1. how to tell gtk, that you can't drop to a certain row. > 2. how to communicate that to the user before the drop occurs.
These are indeed my fundamental questions, but the version I am looking for is much more linked than the version you suggested. Normally when you do DND in GTK (on X), the cursor is the upper-left corner. If you are over a spot where a drop is accepted, a triangle is also part of the cursor. If not, it's just the corner. You can see this, for example, dragging below the bottom element of a treeview. Or dragging over an element that does not accept a drop at all. This is the behavior I would like to conditionally invoke. (I know when; I can detect that. I can "not do" the drop in the drag-data-received handler. But I want the user to know ahead of time with the standard DND feedback that nothing will happen on a drop right there.) Thanks for the stab, though; I'm sure it'll help some others at a later time. -m -- Michael Urman [- [EMAIL PROTECTED] -] _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
