Aw: Re: Writing a Module for SourceView with GOI
- From: max augsburg gmx de
- To: "Marius Feraru" <altblue gmail com>
- Cc: GTK-Perl List <gtk-perl-list gnome org>
- Subject: Aw: Re: Writing a Module for SourceView with GOI
- Date: Fri, 6 May 2016 14:46:28 +0200
Dear Marius,
Thank you very very much for your detailed and instructive answer. Everything now works fine.
I solved the problem with "my $lm = Gtk3::SourceView::LanguageManager->get_default();" following by adding the following lines to the SourceView Module:
my @_CLASS_STATIC_METHODS = qw/
Gtk3::SourceView::LanguageManager::get_default
/;
[...]
sub import {
[...]
class_static_methods =>\@_CLASS_STATIC_METHODS,
}
For me "my $lm = Gtk3::SourceView::LanguageManager->get_default();" feels more perlish than "my $lm = Gtk3::SourceView::LanguageManager::get_default();" :-)
off-topic: I saw the same problem with "Gtk3::Gdk::keyval_name($keyval);". Perhaps one of the Developer of the Gtk3.pm module could also fix this (if it is a fix :-) )?
Last but not least,you write:
Sorry for the further inquiry: But why is it important, not needlessly use interpolating?
Again many thanks!
Max
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]