cairodrag

Crates.iocairodrag
lib.rscairodrag
version
sourcesrc
created_at2024-12-03 08:22:27.736276
updated_at2024-12-10 04:55:24.484739
descriptionUnofficial drag-and-drop implementation for cairo-rs
homepage
repositoryhttps://github.com/UxuginPython/cairodrag
max_upload_size
id1469767
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`
size0
(UxuginPython)

documentation

README

CairoDrag

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.

License: BSD 3-Clause

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.

Changes

0.1.0

  • Initial release.

0.1.1

  • Change DragArea::push_(box|rc|rc_ref_cell) to &self instead of &mut self since they only rely on interior mutability internally.
Commit count: 32

cargo fmt