Andreas Kling
a7f414bba7
LibGUI+WindowServer: Start fleshing out drag&drop functionality
...
This patch enables basic drag&drop between applications.
You initiate a drag by creating a GDragOperation object and calling
exec() on it. This creates a nested event loop in the calling program
that only returns once the drag operation has ended.
On the receiving side, you get a call to GWidget::drop_event() with
a GDropEvent containing information about the dropped data.
The only data passed right now is a piece of text that's also used
to visually indicate that a drag is happening (by showing the text in
a little box that follows the mouse cursor around.)
There are things to fix here, but we're off to a nice start. :^)
2019-12-08 16:50:23 +01:00
..
2019-09-22 00:25:25 +02:00
2019-09-29 20:37:02 +02:00
2019-09-21 18:13:17 +02:00
2019-09-22 00:31:54 +02:00
2019-10-22 21:38:04 +02:00
2019-10-22 21:38:04 +02:00
2019-10-08 21:45:29 +02:00
2019-10-06 22:00:04 +02:00
2019-07-09 22:10:03 +02:00
2019-07-09 22:10:03 +02:00
2019-12-05 17:59:06 +01:00
2019-10-25 15:29:19 +02:00
2019-07-04 16:16:50 +02:00
2019-07-04 16:16:50 +02:00
2019-11-29 15:46:38 +01:00
2019-09-21 19:37:38 +02:00
2019-07-18 10:18:16 +02:00
2019-09-21 18:58:48 +02:00
2019-12-02 11:11:05 +01:00
2019-09-14 09:19:05 +02:00
2019-09-21 19:28:28 +02:00
2019-09-22 00:31:54 +02:00
2019-11-30 15:36:17 +01:00
2019-11-30 15:36:17 +01:00
2019-12-02 11:11:05 +01:00
2019-09-06 15:36:54 +02:00
2019-09-22 20:50:39 +02:00
2019-09-22 20:50:39 +02:00
2019-11-20 23:23:57 +01:00
2019-11-20 23:23:57 +01:00
2019-12-08 16:50:23 +01:00
2019-12-08 16:50:23 +01:00
2019-12-08 16:50:23 +01:00
2019-10-26 21:42:34 +02:00
2019-10-26 21:42:34 +02:00
2019-09-17 09:26:10 +02:00
2019-09-17 09:26:10 +02:00
2019-08-29 19:30:48 +02:00
2019-09-06 15:36:54 +02:00
2019-07-18 10:18:16 +02:00
2019-09-21 19:21:36 +02:00
2019-07-18 10:18:16 +02:00
2019-09-21 16:13:33 +02:00
2019-07-11 15:49:47 +02:00
2019-07-18 10:18:16 +02:00
2019-09-22 00:25:25 +02:00
2019-09-22 00:31:54 +02:00
2019-12-08 16:50:23 +01:00
2019-12-08 16:50:23 +01:00
2019-10-29 16:36:50 +01:00
2019-08-14 20:30:18 +02:00
2019-09-16 07:49:43 +02:00
2019-09-21 15:25:08 +02:00
2019-11-05 20:41:27 +01:00
2019-11-05 20:41:27 +01:00
2019-10-02 20:24:29 +02:00
2019-10-02 20:24:29 +02:00
2019-10-22 21:38:04 +02:00
2019-08-05 18:32:04 +02:00
2019-07-04 16:16:50 +02:00
2019-12-02 15:54:01 +01:00
2019-09-13 21:29:47 +02:00
2019-12-02 11:11:05 +01:00
2019-07-24 09:13:06 +02:00
2019-12-02 15:54:01 +01:00
2019-09-06 15:36:54 +02:00
2019-09-22 00:31:54 +02:00
2019-09-30 17:20:53 +02:00
2019-09-07 21:39:44 +02:00
2019-10-22 21:38:04 +02:00
2019-09-22 00:31:54 +02:00
2019-11-09 11:56:28 +01:00
2019-09-07 19:33:58 +02:00
2019-09-17 09:26:10 +02:00
2019-07-04 16:16:50 +02:00
2019-07-18 10:18:16 +02:00
2019-08-14 20:31:46 +02:00
2019-09-21 16:31:12 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-12-02 11:11:05 +01:00
2019-09-21 15:46:47 +02:00
2019-10-09 21:16:49 +02:00
2019-10-09 21:16:49 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-07-04 16:16:50 +02:00
2019-09-06 15:36:54 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-11-27 19:04:35 +01:00
2019-08-11 18:11:25 +02:00
2019-09-21 19:28:28 +02:00
2019-09-22 00:31:54 +02:00
2019-09-04 18:53:46 +02:00
2019-09-21 16:11:02 +02:00
2019-07-07 21:50:38 +02:00
2019-09-22 00:31:54 +02:00
2019-10-24 09:57:27 +02:00
2019-10-24 09:57:27 +02:00
2019-11-20 22:27:12 +01:00
2019-11-20 22:19:30 +01:00
2019-10-23 19:51:09 +02:00
2019-09-22 00:31:54 +02:00
2019-07-04 16:16:50 +02:00
2019-10-28 19:08:48 +01:00
2019-11-30 16:54:05 +01:00
2019-11-30 16:54:05 +01:00
2019-12-03 12:51:27 +01:00
2019-12-03 12:51:27 +01:00
2019-11-03 09:57:14 +01:00
2019-11-03 09:57:14 +01:00
2019-11-10 22:49:02 +01:00
2019-11-09 00:41:00 +01:00
2019-11-11 22:20:02 +01:00
2019-09-21 16:06:43 +02:00
2019-11-30 15:36:17 +01:00
2019-11-30 15:36:17 +01:00
2019-10-29 16:36:50 +01:00
2019-10-22 21:37:11 +02:00
2019-12-08 16:50:23 +01:00
2019-12-08 16:50:23 +01:00
2019-12-08 16:50:23 +01:00
2019-10-26 12:28:54 +02:00
2019-12-08 16:50:23 +01:00
2019-12-08 16:50:23 +01:00
2019-11-11 13:13:08 +01:00
2019-11-03 09:26:22 +01:00
2019-12-08 16:50:23 +01:00