I would like to implement a Win32::GUI frontend as a module (class/object), e.g.:

--
#!/usr/bin/perl -w
use MyGUI;

my $gui = MyGUI->new();
$gui->dialog();

--

where the dialog method maps to Win32::GUI::Dialog().

Is there any way to automatically pass all Events (e.g. _Click events, etc) through to the GUI object from the main perl script, or do I need to forget about implementing the GUI as a class/object and do it all in the main perl script?

Thanks,
Gareth

Reply via email to