Hello,
I'm trying to implement a window with frames including labels.
But they are not correctly aligned.
There is set_size_allocate() . Is it a good setting to use? and how to use
it?.
If I understand, I can use it only if the widget is realized and I have to
create a Gdk::Rectangle.
If i set_tex
fun(*this, &Window::
on_mouse_key_pressed), false);
void on_mouse_key_pressed(int, double, double)
{
std::cout << "clic left mouse button" << std::endl;
}
Le lun. 26 sept. 2022 à 19:29, Andrew Potter a écrit :
>
> On Mon, Sep 26, 2022 at 10:17 AM Duncan Duncan via g
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