Re: Gtk::Text get text



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]