Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.1k views
in Technique[技术] by (71.8m points)

c++ - Missing <gtkmm/eventcontrollerkey.h> header file after installing gtkmm

I've been using gtkmm for a while now and haven't had any problems. I recently wanted to start using Gtk::EventControllerKey for some event-handling goodies, but make was telling me that it couldn't find that class. I looked at the docs, and it said it should be included in <gtkmm/eventcontrollerkey.h>, which should have been covered in my <gtkmm/gtkmm.h>, but I tried it anyways.

When that header file wasn't found, I checked the include folder for gtkmm, and I could only find the <gtkmm/eventcontroller.h>. After looking around, the EventControllerKey class is definitely part of gtkmm, so I checked the Github page, and lo and behold, the header was there.

I'm running Ubuntu 20-something and I have libgtkmm version 3.24.2-1build1 installed.

I can't figure out why I don't have this. Any suggestions would be appreciated.

gtkmm Github

GTK EventControllerKey

gtkmm EventControllerKey


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...