anhosh/egui_dock
关于
为 egui 提供停靠支持——一个用于 Rust 的即时模式 GUI 库
开发工具可以做什么
- Opening and closing tabs.
- Moving tabs between nodes and resizing.
- Dragging tabs out into new egui windows.
- Highly customizable look and feel.
实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +5
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文egui_dock: docking system for egui
Originally created by @lain-dono, this library provides a docking system for egui.
Contributing
Before contributing, please read the contribution guide and the AI usage policy.
This library is a collaborative project developed with direct involvement of its users.
Please feel free to open new issues and pull requests, and participate in discussions!
A lot of our discussions take place on egui's official Discord server, in the
#egui_dock channel.
Features
- Opening and closing tabs.
- Moving tabs between nodes and resizing.
- Dragging tabs out into new
eguiwindows. - Highly customizable look and feel.
- High degree of control over behaviour of the whole dock area and of individual tabs.
- Manipulating tabs and dock layout from code.
Quick start
Add egui and egui_dock to your project's dependencies.
[dependencies]
egui = "0.38"
egui_dock = "0.23"
Then proceed by setting up egui, following its quick start guide. Once
that's done, you can start using egui_dock – more details on that can be found in the
documentation.
Examples
The Git repository of this crate contains some example applications demonstrating how to achieve certain effects. You
can find all of them in the examples folder.
You can run them with Cargo from the crate's root directory, for example: cargo run --example hello.
Demo

Alternatives
egui_tiles
It's a library aiming to achieve similar goals in addition to being more flexible and customizable.
One feature it supports that egui_dock does not at the moment is the ability to divide nodes into more than two
children, enabling horizontal, vertical, and grid layouts.
[!NOTE]
egui_tilesis much earlier in development thanegui_dockand doesn't yet support a lot of features.
探索相关项目
加载中…