Crate gtk_egui_area

Source
Expand description

§gtk-egui-area

This library provides an EguiArea widget for integrating egui inside of GTK applications. It uses the gtk GLArea widget as the base with the egui_glow renderer to draw inside of it.

image

See demo for usage example.

Supported features:

  • Input handling (Keyboard/Mouse/Touchpad were tested)
  • Clipboard support
  • HiDPI Display handling
  • Opening URLs

Not supported:

  • Accessibility

§Requirements

  • gtk-rs
  • egui (also re-exported from this library)
  • libepoxy - epoxy is a dependency of GTK, so you should already have it, but this library loads it explicitly so it should be available in the standard library paths

Re-exports§

pub use egui;

Structs§

EguiArea
Widget for drawing an egui UI. Inherits from gtk::GLArea.