Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
[yast-devel] Perl YUI TextEntry
  • From: Justin Haygood <jhaygood@xxxxxxxxxxx>
  • Date: Tue, 25 Mar 2008 17:39:47 -0400
  • Message-id: <1206481187.15845.3.camel@xxxxxxxxxxxxxxxxxxxxxxx>
I'm trying to get the value of a YUI TextEntry (all in Perl).

I created the TextEntry via:

my $TextInput = TextEntry("Some Text","");

This let me add it to the VBOX:

my $c = VBox(
$TextInput,
PushButton("&OK")
);

UI->OpenDialog($c);
UI->UserInput();
UI->CloseDialog();

However, you can't get the value from either:

$value = $TextInput->Value; // Most Logical
$value = UI->QueryWidget( $TextInput, "Value" ); // Second Most Logical

What do I have to do in order to do this? Is this just incomplete Perl
bindings?

--Justin Haygood

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups