# How to design GUI interfaces in Julia?

**URL:** <https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159>\
**Category:** General Usage\
**Tags:** gui\
**Created:** [December 24, 2024, 8:33pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159 "2024-12-24T20:33:58Z")\
**Posts on this page:** 9\
**Page:** 4

<div class="post-metadata">

**Author:** ![Paulo\_Jabardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulo_jabardo/32/3196_2.png) [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Post date:** [January 5, 2025, 7:32pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/61 "2025-01-05T19:32:19Z")

</div>

I just began writing a Julia interface to fltk using `CxxWrap.jl`, more as a way to learn how to use `CxxWrap.jl` than anything else. I will post here the repository once I have something here.

---

<div class="post-metadata">

**Author:** ![mpeters2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mpeters2/32/202247_2.png) [@mpeters2](https://discourse.julialang.org/u/mpeters2)\
**Post date:** [January 5, 2025, 11:00pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/62 "2025-01-05T23:00:44Z")

</div>

I’ll have to check out your bindings for FLTK when you’re done, as I tried writing bindings for QT and quickly got lost

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [January 6, 2025, 12:07am UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/63 "2025-01-06T00:07:40Z")

</div>

> [@Paulo\_Jabardo](#):
>
> I just began writing a Julia interface to fltk using `CxxWrap.jl`

But why did you pick FLTK that, as found by @linwaytin, has C bindings so it will be infinitely easier to wrap it with Clang.jl?

---

<div class="post-metadata">

**Author:** ![Paulo\_Jabardo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulo_jabardo/32/3196_2.png) [@Paulo\_Jabardo](https://discourse.julialang.org/u/Paulo_Jabardo)\
**Post date:** [January 6, 2025, 10:55am UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/64 "2025-01-06T10:55:28Z")

</div>

I didn’t know this existed. Perhaps it is simpler. Certainly worth a look.

---

<div class="post-metadata">

**Author:** ![fatteneder](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fatteneder/32/33991_2.png) [@fatteneder](https://discourse.julialang.org/u/fatteneder)\
**Post date:** [January 7, 2025, 10:37am UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/65 "2025-01-07T10:37:16Z")

</div>

I like this idea, and I think we should craft a separate CI pass for that.

---

<div class="post-metadata">

**Author:** ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Post date:** [January 7, 2025, 12:49pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/66 "2025-01-07T12:49:16Z")

</div>

I think Aqua.jl could be a good home for that. It already has a lot of checks for package best-practices.

---

<div class="post-metadata">

**Author:** ![mpeters2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mpeters2/32/202247_2.png) [@mpeters2](https://discourse.julialang.org/u/mpeters2)\
**Post date:** [January 11, 2025, 11:20pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/67 "2025-01-11T23:20:59Z")

</div>

I didn’t know that Tk.jl existed. I was able to make a simple calculator using it, but it (the looks of the gui, as well as my code) is ugly. Usable, but it is no QT.

> **[GitHub - JuliaGraphics/Tk.jl: Julia interface to Tk windowing toolkit.](https://github.com/JuliaGraphics/Tk.jl)**
>
> Julia interface to Tk windowing toolkit.

---

<div class="post-metadata">

**Author:** ![novemberist](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@novemberist](https://discourse.julialang.org/u/novemberist)\
**Post date:** [January 27, 2025, 1:40am UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/69 "2025-01-27T01:40:17Z")

</div>

I think clay looks very interesting and promising as a new lightweight immediate-mode UI library without massive dependencies that could perhaps be used with something like the recently released SDL3 to build flexible, modern GUIs in Julia.

[![](https://global.discourse-cdn.com/julialang/original/3X/1/9/193aaa7884af4dfa760e558ae832c156b290ebbb.jpeg "Introducing Clay - High Performance UI Layout in C") ](https://www.youtube.com/watch?v=DYWTw19_8r4)

I hope someone smarter than me will eventually provide a wrapper for these C-libraries or perhaps even some nice Julian abstractions on top.

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [March 21, 2025, 1:11pm UTC](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159/70 "2025-03-21T13:11:39Z")

</div>

I totally agree. To me, immediate mode GUI libraries like [Dear Imgui](https://github.com/ocornut/imgui) (combined with [Clay](https://github.com/nicbarker/clay)) are definitely the way to go. I never liked QT, GTK or other bloated UIs and it’s really astonishing how much you can do with IM UIs. I use [ImHex](https://imhex.werwolv.net) on a daily basis and it works like a charm. Super fast, low memory footprint and looks timeless 🙂

For games, I love [raygui](https://github.com/raysan5/raygui).

Most of these are written in C, so using them in Julia should be easy. To be honest, the only one I have tried for Julia was [`CImGui.jl`](https://github.com/JuliaImGui/CImGui.jl) and also only ran some examples which worked. I did not come up with a real use-case for a Julia based GUI application in the field where I use the language, so I cannot tell more unfortunately.

[Previous page](https://discourse.julialang.org/t/how-to-design-gui-interfaces-in-julia/124159.md?page=3)
