Crates.io | cairodrag |
lib.rs | cairodrag |
version | |
source | src |
created_at | 2024-12-03 08:22:27.736276 |
updated_at | 2024-12-10 04:55:24.484739 |
description | Unofficial drag-and-drop implementation for cairo-rs |
homepage | |
repository | https://github.com/UxuginPython/cairodrag |
max_upload_size | |
id | 1469767 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
An unofficial drag-and-drop implementation for cairo-rs
and gtk4
.
Drag-and-drop interfaces are useful in many places, and Rust's GTK 4 bindings have some support for them. However, there are some cases in which GTK's drag-and-drop is not sufficient, requiring the use of Cairo, its drawing library. Unfortunately, Cairo does not have drag-and-drop support by default. This crate adds this functionality. Read the documentation and the example (found in the repository) to get started.
This basically means that you can do whatever you want as long as you give me attribution and you don't remove the license notices or use my name to endorse stuff I don't. Read the actual license for details though.
DragArea::push_(box|rc|rc_ref_cell)
to &self
instead of &mut self
since they only rely on interior mutability internally.