Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Jan 26, 2024
1 parent da95adf commit 427151f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crates/egui/src/drag_and_drop.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
//! Support for drag-and-drop in egui.
//!
//! This module implements the low-level drag-and-drop API with support for manually saving, retrieving, and clearing
//! drag-and-drop payloads. This enables the maximum flexibility for complex drag-and-drop interactions.
//!
//! For a higher-level API, see:
//! - [`crate::Ui::dnd_drag_source`],
//! - [`crate::Ui::dnd_drop_zone`],
//! - and the drag-related functions in [`crate::Response`].
use std::{any::Any, sync::Arc};

use crate::{Context, CursorIcon, Id};
Expand Down

0 comments on commit 427151f

Please sign in to comment.