Re: Gtk3 and subclassing

2018-12-01 Thread Jeff via gtk-perl-list
On 01/12/2018 17:22, Torsten Schoenfeld wrote: > Looks like GooCanvas2.pm neglects to pull in Gtk3.pm, so either patch > GooCanvas2.pm or "use Gtk3" yourself before you "use GooCanvas2". That was it. Thanks. Regards Jeff signature.asc Description: OpenPGP digital signature ___

Re: Gtk3 and subclassing

2018-12-01 Thread Torsten Schoenfeld
On 01.12.18 17:00, Jeff via gtk-perl-list wrote: The code below is cut down from that in gscan2pdf, where in a separate file, the subclass, and thus the add_events() call works fine. Here, I get: Can't locate object method "add_events" via package "My::Canvas" at gtk3-subclass2.pl line 15. I st

Re: Gtk3 and subclassing

2018-12-01 Thread Jeff via gtk-perl-list
On 01/12/2018 00:36, Emmanuele Bassi wrote: > On Fri, 30 Nov 2018 at 19:09, Jeff via gtk-perl-list > mailto:gtk-perl-list@gnome.org>> wrote: > > Whilst working up a smallest working example for another bug, I've > discovered that I cannot get subclassing working when the main package >

Re: Gtk3 and subclassing

2018-11-30 Thread Emmanuele Bassi via gtk-perl-list
On Fri, 30 Nov 2018 at 19:09, Jeff via gtk-perl-list < gtk-perl-list@gnome.org> wrote: > Whilst working up a smallest working example for another bug, I've > discovered that I cannot get subclassing working when the main package > is in the same file as the module. > > Below is the Gtk2 subclassin