Drag-n-drop help
- From: Andreas Schiffler <aschiffler appwares com>
- To: epiphany-list gnome org
- Subject: Drag-n-drop help
- Date: Wed, 24 Dec 2003 13:07:04 -0500
Hi,
I've been directed to ask my drag-n-drop question by Christopher
Blizzard on the Epiphany mailing list. So here I go.
I am trying to gain control over the drag-n-drop behaviour of an
embedded mozilla window using gtkmozembed. The starting point for my
program is simply the test browser from
mozilla/embedding/browser/gtk/
In the default implementation, a drag-n-drop into the browser window
will navigate to that url (i.e. a file URL of the file or folder dragged
into the browser from the desktop). I'd like to suppress that and also
be able to capture the dropped URL in my own handler function.
Secondly I'd like to make the browser window draggable by inserting a
special link anchor. The current behaviour is that a drag-n-drop of a
link outside of the browser will copy the link to the desktop. In my
alternate implementation using the special anchor, the whole window
should be dragged (similar to a drag using the window manager). The
ideas is to create a frameless browser that can be dragged around by
using these "drag:" anchors on images.
So far, I've tried to add some drag handlers to the mozilla widget but
get no results (i.e. nothing changes).
Any ideas, sample source and hints would be very welcome.
I am not part of the mailing list right at the moment; responses might
be best send to: aschiffler at appwares.com
Ciao
Andreas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]