#gtk #widgets #egui #applications #embedding #renderer #egui-area

gtk-egui-area

EguiArea widget for embedding inside of GTK

2 releases

0.1.1 Sep 20, 2024
0.1.0 Sep 19, 2024

#880 in GUI

MIT license

21KB
411 lines

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

Dependencies

~22–32MB
~603K SLoC