# Creating a menu with pygi Gtk 4.0

**URL:** <https://discuss.python.org/t/creating-a-menu-with-pygi-gtk-4-0/88927>\
**Category:** Python Help\
**Created:** [April 19, 2025, 9:57pm UTC](https://discuss.python.org/t/creating-a-menu-with-pygi-gtk-4-0/88927 "2025-04-19T21:57:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dstromberg](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dstromberg/32/9047_2.png) [@dstromberg](https://discuss.python.org/u/dstromberg)\
**Post date:** [April 19, 2025, 9:57pm UTC](https://discuss.python.org/t/creating-a-menu-with-pygi-gtk-4-0/88927/1 "2025-04-19T21:57:12Z")

</div>

Hello.

Apparently menu creation in Gtk 4.0 with pygi has been totally changed from the Gtk 3.0 way.

I’ve been googling for an example of doing it the new way, and have found zero working examples.

[svn - Revision 11550: /gtk-4-menu/trunk](https://stromberg.dnsalias.org/svn/gtk-4-menu/trunk) has 7 examples of what I’ve tried so far. That’s not everything I’ve tried; I didn’t save everything I attempted.

Given how hard it’s been to find an example of this, perhaps someone in the know can sketch something?

Thanks!
