Re: a question about entry
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: a question about entry
- Date: Mon, 8 Sep 2003 15:30:07 -0400 (EDT)
ken said:
hello,everyone!I'm new to here,and new to gtk2-perl,too.
would anyone like to give me a example for entry?
check out the dialog.pl component of gtk-demo.
it usually boils down to
$entry = Gtk2::Entry->new;
$entry->set_text ($some_text);
# do stuff
$text = $entry->get_text;
you can also
$entry->signal_connect (changed => sub {
# do something on each typed letter
});
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]