Re: mouse button event and gtkmm-4.0




On Mon, Sep 26, 2022 at 10:17 AM Duncan Duncan via gtkmm-list <gtkmm-list gnome org> wrote:
Could someone explain how to get  event key mouse ?


Hi,
A question on the list a couple months ago prompted me to make this github gist:

https://gist.github.com/talisein/f4f80167fa21f329f3db06a2730746f5

In short, you need a Gtk::GestureClick event controller. The current gtkmm documentation is at https://gnome.pages.gitlab.gnome.org/gtkmm/classGtk_1_1GestureClick.html

Unfortunately google doesn't like returning the gitlab pages links yet.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]