# GTK4 compound widget

**URL:** <https://discourse.julialang.org/t/gtk4-compound-widget/111584>\
**Category:** Visualization\
**Tags:** gtk, gtk4\
**Created:** [March 13, 2024, 3:27pm UTC](https://discourse.julialang.org/t/gtk4-compound-widget/111584 "2024-03-13T15:27:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yjr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yjr/32/207725_2.png) [@yjr](https://discourse.julialang.org/u/yjr)\
**Post date:** [March 13, 2024, 3:27pm UTC](https://discourse.julialang.org/t/gtk4-compound-widget/111584/1 "2024-03-13T15:27:16Z")

</div>

Hello,  
I’m struggling to make a compound widget using struct under GTK4, does anyone have an example ?  
Thanks

---

<div class="post-metadata">

**Author:** ![jwahlstrand](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jwahlstrand](https://discourse.julialang.org/u/jwahlstrand)\
**Post date:** [March 14, 2024, 10:46pm UTC](https://discourse.julialang.org/t/gtk4-compound-widget/111584/2 "2024-03-14T22:46:28Z")

</div>

Hi, if you’re referring to Gtk4.jl, compound widgets are not currently supported.

---

<div class="post-metadata">

**Author:** ![yjr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yjr/32/207725_2.png) [@yjr](https://discourse.julialang.org/u/yjr)\
**Post date:** [March 15, 2024, 11:35am UTC](https://discourse.julialang.org/t/gtk4-compound-widget/111584/3 "2024-03-15T11:35:39Z")

</div>

Yes I was refering to Gtk4 is there any plan to support it in the future?

---

<div class="post-metadata">

**Author:** ![jwahlstrand](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jwahlstrand](https://discourse.julialang.org/u/jwahlstrand)\
**Post date:** [March 18, 2024, 11:13pm UTC](https://discourse.julialang.org/t/gtk4-compound-widget/111584/4 "2024-03-18T23:13:01Z")

</div>

Soon it should be possible to define new GObject types, which is a step towards compound widgets. There’s no roadmap or anything for Gtk4 – development is driven by what I feel like doing in my spare time.
