I attached the current code I have. It should work per duncanmv's
comment in IRC, however it does not.

I am using openSUSE Factory.

On Tue, 2008-03-25 at 17:39 -0400, Justin Haygood wrote:
> 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
> 

Attachment: test-yui
Description: Perl program

Reply via email to