Re: Gtk::Text get text
- From: Martynas Jocius <mjoc delfi lt>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk::Text get text
- Date: Fri, 28 Dec 2001 12:17:52 +0000
On Thu, Dec 27, 2001 at 04:35:28PM -0800, Gavin Jefferies wrote:
If you look at the object hierarchy, you'll see its a Gtk::Editable
and you can use get_chars to get the value from that.
Yes, I really forgot that widget. I'd never used it with perl, so I still
have a problem. I create an object like this:
[...]
$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
What I'm doing wrong? I found some examples on the web, but there's the same
code. Thanks again.
--
Martynas Jocius
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]