My question is, from the below code, how do I run a subroutine outside of WxPerl with the variables pushed from the GUI into the script?
What does that even mean?
1.) How to print "Hello World" (from the button eventhandler); it doesn't actually print to console until I hit the X button and close the GUI.
You're Suffering from Buffering?, STDOUT->autoflush(1); ... print "...\n\n\n\n\n\n\n";
2.) I need to be able to print the value of the radio button or checkbox and run a subroutine based on if it's set to 0 or 1 after I click the button from above. 3.) Capture the input value from the user and pass to console as variables win32 equiv:
Try warn "@_\n"; from your event handler
Then you can use
$self->{checkbox_1}->GetValue $self->{combo_box_1}->GetValue $self->{radio_btn_1}->GetValue
You've got typos ... modern practice
my $app = Wx::SimpleApp->new; my $frame_1 = MyFrame1->new(); $app->SetTopWindow($frame_1); $frame_1->Show(1); $app->MainLoop();
my wxWidgets / wxPerl / wxGlade tutorial
In reply to Re: Need help doing simple tasks in WxPerl / Wxglade
by Anonymous Monk
in thread Need help doing simple tasks in WxPerl / Wxglade
by netnem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |