Re: Gtk::Text get text
- From: Christian Borup <borup borup com>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk::Text get text
- Date: Sat, 29 Dec 2001 23:38:37 +0100
Martynas Jocius wrote:
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");
While this works. A better/safer way is:
$text = Gtk::Editable->new;
./borup
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]