Re: [perl-win32-gui-users] Passing events through to a module

2005-03-24 Thread Johan Lindstrom
At 01:35 2005-03-25, Gareth John wrote: 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? That sounds a lot

[perl-win32-gui-users] Passing events through to a module

2005-03-24 Thread Gareth John
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) thr

Re: [perl-win32-gui-users] Patches for toolbar.xs and Hook()ing WM_NOTIFY

2005-03-24 Thread Jez White
I have been struggling with getting drop-down menus from toolbar buttons working. I'm nearly there, but not quite. I'll post separately to share my finding once I have some tidier working code. I've found a number of problems that need fixing in the XS source (some related to drop-down me

Re: [perl-win32-gui-users] Documentation and default values [Was: BUG Followup[1092732 ]:Slider no longer supports setting position]

2005-03-24 Thread Jez White
The XS code cannot provide a default in this case (due to the optionality of the first argument), and so explicitly looks at the number of arguements. We have 4 ways to call this method, and for consistency with what happens elsewhere this is how I believe the behaviour should be: (1) $obj->