Re: Gtk::Text get text



On Fri, Dec 28, 2001 at 12:17:52PM +0000, Martynas Jocius wrote:
$text = new Gtk::Editable;
[...]

In each test program I tried, I got this error:

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");

Now it works :-)

--
Martynas Jocius
http://mjoc.infoseka.lt



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