Thanks!
so I just try quickly something like this. Exactly what i need.
auto mouse = Gtk::GestureClick::create();
mouse->set_propagation_phase(Gtk::PropagationPhase::CAPTURE);
mouse->set_button(GDK_BUTTON_PRIMARY);
add_controller(mouse);
mouse->signal_pressed().connect(sigc::mem_fun(*this, &Windo
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/f4f80167fa21f329f3db06a27307
You want Gtk::Gesture and its subclasses.
___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
Hello
I'm on Ubuntu 22.04 and use gtkmm-4.0
There is Gtk::EventControllerKey to capture keyboard event and a good
example here
https://developer-old.gnome.org/gtkmm-tutorial/stable/chapter-keyboardevents.html.en
But how to capture key mouse event ?
I don't find anything in the documentation's gtkm