Aw: Re: Writing a class from type Gtk3::SourceView::CompletionProvider



Thanks a lot! This seems to work a little bit better. Unfortunately now I get the following error:
*** unhandled exception in callback:
***   Provider=HASH(0x2567598) is not a proper Glib::Object (it doesn't contain the right magic) at /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/Glib/Object/Introspection.pm line 67.
***  ignoring at /usr/local/share/perl/5.20.2/Gtk3.pm line 546.

Somebody an idea?
Thanks much!
 
Gesendet: Samstag, 21. Mai 2016 um 13:46 Uhr
Von: oldtechaa <oldtechaa gmail com>
An: gtk-perl-list gnome org
Betreff: Re: Writing a class from type Gtk3::SourceView::CompletionProvider

You may have to "use base Gtk3::SourceView::CompletionProvider". This will make your subclass inherit the members of the CompletionProvider class.

For more info, read the gtk2-perl faq at
https://wiki.gnome.org/Projects/GTK-Perl/FrequentlyAskedQuestions#How_do_I_create_a_new_widget_as_a_subclass_of_an_existing_Gtk_widget.3F
which deals with a subclassed widget.

_______________________________________________ gtk-perl-list mailing list gtk-perl-list gnome org https://mail.gnome.org/mailman/listinfo/gtk-perl-list
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]