Where can I find gtkmm/overlay.h?

255 Views Asked by At

I'm using this page to create an overlay widget but I don't have gtkmm/overlay.h

libgtkmm-3.0-dev (v3.10.1) is installed. I can't seem to find overlay.h in my install or even the latest unstable source (v3.11.10)

Any ideas where I can find this?

1

There are 1 best solutions below

0
On BEST ANSWER

The "Since gtkmm 3.2" text in that documentation for Gtk::Overlay is wrong. It was actually added in gtkmm 3.14: https://git.gnome.org/browse/gtkmm/tree/NEWS

I have corrected it in gtkmm's git, so it will be correct online when we do a release. Sorry about that.

However, GtkOverlay has been in GTK+ since GTK+ 3.2, so you can use that part of the C API from your C++ code, by using gobj() and Glib::wrap(): http://www.gtkmm.org/docs/libgnomedbmm-3.0/docs/tutorial/html/ch03.html#sec-basics-gobj-and-wrap