GithubHelp home page GithubHelp logo

vlansco / egui_dock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adanos020/egui_dock

0.0 0.0 0.0 3.22 MB

Docking support for egui – an immediate-mode GUI library for Rust

License: MIT License

Rust 100.00%

egui_dock's Introduction

egui_dock: docking system for egui

github Crates.io docs.rs egui_version

Originally created by @lain-dono, this library provides a docking system for egui.

Contributing

Before contributing, please read the contribution guide.

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 egui windows.
  • 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.27"
egui_dock = "0.12"

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

demo

Alternatives

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_tiles is much earlier in development than egui_dock and doesn't yet support a lot of features.

egui_dock's People

Contributors

adanos020 avatar emilk avatar lvaroqui avatar regenjacob avatar avarel avatar adamgreig avatar jerrody avatar gui-yom avatar jakobhellermann avatar lain-dono avatar msheldyakov avatar knoellle avatar awestlake87 avatar morphexe avatar itsethra avatar burtonageo avatar parkertenbroeck avatar past9 avatar paul-hansen avatar enomado avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.