How to emit beep sound with GTK 4?

I saw this method but now can’t find in docs…

There’s gdk_display_beep() and gdk_surface_beep(), depending on what you have at your disposal.

1 Like

Ah, it’s GDK! Can I saw this method somewhere in GTK docs before or it’s 100% GDK API? Just interesting, as surprised to see this method as the part of GTK widget. Not sure as can’t find now.

It’s always been GDK API, as it interacts with the windowing system and not with the widget hierarchy.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.