Re: Gtk::Text get text
- From: Martynas Jocius <mjoc delfi lt>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk::Text get text
- Date: Sun, 30 Dec 2001 01:06:27 +0000
On Sat, Dec 29, 2001 at 11:38:37PM +0100, Christian Borup wrote:
Usage: Gtk::Object::new(Class, ...) at /usr/lib/perl5/Gtk.pm line 215
I looked to Gtk.pm and Types.pm, and I tried this:
$text = new Gtk::Editable("Gtk::Text");
While this works. A better/safer way is:
$text = Gtk::Editable->new;
I don't know why, but this causes the same error:
Usage: Gtk::Object::new(Class, ...) at /usr/lib/perl5/Gtk.pm line 215.
--
Martynas Jocius
http://mjoc.infoseka.lt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]