Re: Gtk3 context menu
- From: Torsten Schönfeld <torsten schoenfeld gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk3 context menu
- Date: Sat, 17 Jan 2015 15:24:17 +0100
On 25.08.2014 23:07, Torsten Schönfeld wrote:
On 25.08.2014 20:24, Yuri Myasoedov wrote:
But when you use Gtk3:
(Gtk2::Widget, Gtk3::Gdk::EventButton) - first click
(Gtk2::Widget, Gtk3::Gdk::EventButton) - second click
(Gtk2::Widget, Gtk3::Gdk::Event) - 2button-press !!!
I have no idea, why Gtk3::Gdk::Event is used instead of
Gtk3::Gdk::EventButton. May be a bug?
Anyway you can bless $event for Gtk3::Gdk::EventButton.
It looks like the mapping in
<https://git.gnome.org/browse/perl-Gtk3/tree/lib/Gtk3.pm#n150> is
incorrect then. "button-2press" and "button-3press" should probably be
"2button-press" and "3button-press".
Did this now:
<https://git.gnome.org/browse/perl-Gtk3/commit/?id=baddfa6b4672a7f23c33a4f32b1101875da18ae8>.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]