Re: Remove spaces in dialog window
- From: Beast <beast i6x org>
- To: gtk-perl-list gnome org
- Subject: Re: Remove spaces in dialog window
- Date: Thu, 04 Aug 2005 17:37:30 +0700
muppet wrote:
my $self = $class->SUPER::new(...);
bless $self, $class;
Sorry, newbie question:
How do I set text $name from other subroutine?
----
new {
my $self = $class->SUPER::new(...);
bless $self, $class;
my $name = Gtk2::Entry->new();
$self->set_name("Test");
}
sub set_name {
my ($self, $fullname) = shift;
# this doesn't work
#$self->get_widget('name')->set_text($fullname);
}
--
--beast
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]