You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(7) |
Mar
(5) |
Apr
(4) |
May
(15) |
Jun
(10) |
Jul
(4) |
Aug
(12) |
Sep
(39) |
Oct
(22) |
Nov
(46) |
Dec
(65) |
2002 |
Jan
(19) |
Feb
(27) |
Mar
(50) |
Apr
(73) |
May
(85) |
Jun
(52) |
Jul
(49) |
Aug
(95) |
Sep
(152) |
Oct
(81) |
Nov
(42) |
Dec
(62) |
2003 |
Jan
(45) |
Feb
(47) |
Mar
(101) |
Apr
(110) |
May
(53) |
Jun
(72) |
Jul
(125) |
Aug
(77) |
Sep
(87) |
Oct
(69) |
Nov
(55) |
Dec
(71) |
2004 |
Jan
(127) |
Feb
(68) |
Mar
(93) |
Apr
(102) |
May
(64) |
Jun
(92) |
Jul
(40) |
Aug
(113) |
Sep
(44) |
Oct
(61) |
Nov
(44) |
Dec
(100) |
2005 |
Jan
(57) |
Feb
(51) |
Mar
(101) |
Apr
(73) |
May
(45) |
Jun
(97) |
Jul
(92) |
Aug
(94) |
Sep
(46) |
Oct
(83) |
Nov
(82) |
Dec
(68) |
2006 |
Jan
(92) |
Feb
(116) |
Mar
(84) |
Apr
(66) |
May
(40) |
Jun
(57) |
Jul
(89) |
Aug
(82) |
Sep
(58) |
Oct
(94) |
Nov
(104) |
Dec
(70) |
2007 |
Jan
(86) |
Feb
(108) |
Mar
(193) |
Apr
(84) |
May
(71) |
Jun
(54) |
Jul
(17) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jouke V. <jo...@pv...> - 2001-09-28 11:07:46
|
Hi, I'm trying to load a JPG file in a wxImage object, which fails in every way. First I tried this code: Wx::InitAllImageHandlers(); my $image = Wx::Image->new(); $image->LoadFile("i.jpg", wxBITMAP_TYPE_JPEG); Which results in: "Undefined subroutine &Wx::Image::LoadFileSType called at C:/perl/site/lib/Wx/Image.pm line 44. After that I tried to do it with: Wx::InitAllImageHandlers(); my $image = Wx::Image->new("i.jpg", wxBITMAP_TYPE_JPEG); Which results in a pagefault, with details: module MSVCRT.DLL op015f:78001648. Registers: EAX=037c9ba0 CS=015f EIP=78001648 EFLGS=00010212 EBX=01fa58d8 SS=0167 ESP=0153f428 EBP=0153f430 ECX=00552a54 DS=0167 ESI=0227f250 FS=40bf EDX=00000000 ES=0167 EDI=0155a000 GS=0000 Bytes in CS:EIP: f3 a5 ff 24 95 28 17 00 78 8b c7 ba 03 00 00 00 Stackdump: 0176f3b8 0181580c 0153f480 66335903 01554944 02279b94 0155000c 663358d3 0176f378 0155423c bff7a391 01550000 0153f96c 00000800 00000000 0155000c Any suggestions? I'm running Windows 98, using ActiveState Perl 5.6.0 and wxPerl 0.7 (binary PPD distribution). -- *-----------------------------------------------* |Jouke Visser |jo...@pv... | |Perl GUI Geek |http://www.pvoice.org | *-----------------------------------------------* PS: Notice new mailaddress!! |
From: <sw...@at...> - 2001-09-27 04:15:31
|
i tried wxGTK-2.2.7.tar.gz, i had to tweak references in configure and configure.in from *-*-cygwin32 to *-*-cygwin* as my host is shown as i686-pc-cygwin, and insert "/usr/local/w32api" into SEARCH_INCLUDES..then <snip> ./configure --with-cygwin --prefix=/usr/local/wxMSW </snip> configure ran fine! until i ran make where it croaked on <snip> $ make Makefile:178: src/msw/files.lst: No such file or directory make: *** No rule to make target `src/msw/files.lst'. Stop. </snip> the msw tree is missing (natrually i guess seeing its wxGTK), is there anyway i can get the full source tree with the configure script? or at least wxMSW*.zip? im not fimilar with CVS, but i take it the full source lies there.. i dont think its a "neat" idea copying the src/msw from wxMSW-2.2.7.zip into wxGTK-2.2.7.. eeek regards dan ----- Original Message ----- From: "Mattia Barbon" <mb...@ds...> To: "...2«..." <sw...@at...> Cc: <wxp...@li...> Sent: Thursday, September 27, 2001 7:11 AM Subject: Re: [wxperl-users] (cygwin) Fw: wxMSW perl bindings > > i dont have configure, i used the src pkg > > wxMSW-2.2.7.zip, i used cygwin, but it compiled > > with mingw prefab makefiles, i could try downloading > > the unix src pkg?, its just that i saw cygwin has been > > tested with the wxMSW*.zip pkg so that is the one > > i used.. > Hmm... yes, I am too used to CVS sources; you don't have configure... > mmmh... > Will experiment with that setup, and let you know ASAP > > > perhaps i will try wxGTK as i have GTK setup > Not what I meant, sorry > > > properly in my cygwin enviroment (i assume that > > will use configure), but i didnt want the gtk.dll cygwin.dll > > overhead? > > > or hopefully wxPerl will start shipping with > > cygwin perl binaries :) instead of active perl. > Maybe in addition to, not instead of ( imagine > *who* will have to do the upload :( ) ;) > > Regards > Mattia > |
From: Mattia B. <mb...@ds...> - 2001-09-26 21:11:18
|
> i dont have configure, i used the src pkg > wxMSW-2.2.7.zip, i used cygwin, but it compiled > with mingw prefab makefiles, i could try downloading > the unix src pkg?, its just that i saw cygwin has been > tested with the wxMSW*.zip pkg so that is the one > i used.. Hmm... yes, I am too used to CVS sources; you don't have configure... mmmh... Will experiment with that setup, and let you know ASAP > perhaps i will try wxGTK as i have GTK setup Not what I meant, sorry > properly in my cygwin enviroment (i assume that > will use configure), but i didnt want the gtk.dll cygwin.dll > overhead? > or hopefully wxPerl will start shipping with > cygwin perl binaries :) instead of active perl. Maybe in addition to, not instead of ( imagine *who* will have to do the upload :( ) ;) Regards Mattia |
From: <sw...@at...> - 2001-09-26 18:12:28
|
i dont have configure, i used the src pkg wxMSW-2.2.7.zip, i used cygwin, but it compiled with mingw prefab makefiles, i could try downloading the unix src pkg?, its just that i saw cygwin has been tested with the wxMSW*.zip pkg so that is the one i used.. perhaps i will try wxGTK as i have GTK setup properly in my cygwin enviroment (i assume that will use configure), but i didnt want the gtk.dll cygwin.dll overhead? or hopefully wxPerl will start shipping with cygwin perl binaries :) instead of active perl. regards dan ----- Original Message ----- From: "Mattia Barbon" <mb...@ds...> To: "...2«..." <sw...@at...> Cc: <wxp...@li...> Sent: Thursday, September 27, 2001 2:58 AM Subject: Re: [wxperl-users] (cygwin) Fw: wxMSW perl bindings > > > hi all, > > > > > > this Q is for anyone using wxMSW under cygwin.. > > > > > > i managed to compile wxMSW 2.2.7 from source > > > and test examples work fine.. > OK, but have you installed it? > I didn't test wxPerl under cygwin, but here is what I would do: > $ cd wxWindows-source > $ ./configure --option1 --option2 ... > $ make > $ maek install <<< did you do that > > The last command places all include files, libraries and wx-config > under /usr/local ( you can change it using --prefix ) > > > > > > > for those who have done the same, i am curious on where > > > you have placed it in your cygwin enviroment as im having troubles > > > compiling wxPerl. > > > > > > i downloaded and the read docs that came with wxPerl and it > Good! > > > > mentions compilation with mingw, but i am having troubles > > > seeing there is no wx-config, i tried perl makefile.pl with; > Is the directory where wx-config lies in your path > if not, do > > $ PATH=/usr/local/bin:$PATH > $ wx-config --version > 2.2.7 <<< this is wx-config output > $ > > > > perl Makefile.PL > > > > > EXTRA_CFLAGS="-D__GNUWIN32__ -D__CYGWIN__ -D__WXMSW__ -fno-pcc-struct-return > > > -O2 -fno-rtti -fno-exceptions" > This should not be needed > > > > and mounted the include/wx in /usr/include/wx, but i am > This should not be necessaru > > > > getting previous decleration errors all over the place. > Usually posting a small example cut'n'pasted from the output > helps a lot > > > > i feel this would work if i new how to set up the wxMSW enviroment > > > properly, any pointers, any one tried/failed/completed it? > Hope this helps > > Regards > Mattia > |
From: Mattia B. <mb...@ds...> - 2001-09-26 16:57:52
|
> > hi all, > > > > this Q is for anyone using wxMSW under cygwin.. > > > > i managed to compile wxMSW 2.2.7 from source > > and test examples work fine.. OK, but have you installed it? I didn't test wxPerl under cygwin, but here is what I would do: $ cd wxWindows-source $ ./configure --option1 --option2 ... $ make $ maek install <<< did you do that The last command places all include files, libraries and wx-config under /usr/local ( you can change it using --prefix ) > > > > for those who have done the same, i am curious on where > > you have placed it in your cygwin enviroment as im having troubles > > compiling wxPerl. > > > > i downloaded and the read docs that came with wxPerl and it Good! > > mentions compilation with mingw, but i am having troubles > > seeing there is no wx-config, i tried perl makefile.pl with; Is the directory where wx-config lies in your path if not, do $ PATH=/usr/local/bin:$PATH $ wx-config --version 2.2.7 <<< this is wx-config output $ > > perl Makefile.PL > > > EXTRA_CFLAGS="-D__GNUWIN32__ -D__CYGWIN__ -D__WXMSW__ -fno-pcc-struct-return > > -O2 -fno-rtti -fno-exceptions" This should not be needed > > and mounted the include/wx in /usr/include/wx, but i am This should not be necessaru > > getting previous decleration errors all over the place. Usually posting a small example cut'n'pasted from the output helps a lot > > i feel this would work if i new how to set up the wxMSW enviroment > > properly, any pointers, any one tried/failed/completed it? Hope this helps Regards Mattia |
From: <sw...@at...> - 2001-09-26 14:00:24
|
----- Original Message ----- From: "...2«..." <sw...@at...> To: <cy...@cy...> Sent: Wednesday, September 26, 2001 11:54 PM Subject: wxMSW perl bindings > hi all, > > this Q is for anyone using wxMSW under cygwin.. > > i managed to compile wxMSW 2.2.7 from source > and test examples work fine.. > > for those who have done the same, i am curious on where > you have placed it in your cygwin enviroment as im having troubles > compiling wxPerl. > > i downloaded and the read docs that came with wxPerl and it > mentions compilation with mingw, but i am having troubles > seeing there is no wx-config, i tried perl makefile.pl with; > > perl Makefile.PL > EXTRA_CFLAGS="-D__GNUWIN32__ -D__CYGWIN__ -D__WXMSW__ -fno-pcc-struct-return > -O2 -fno-rtti -fno-exceptions" > > and mounted the include/wx in /usr/include/wx, but i am > getting previous decleration errors all over the place. > > i feel this would work if i new how to set up the wxMSW enviroment > properly, any pointers, any one tried/failed/completed it? > > regards > > dan > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > |
From: Jouke V. <jo...@pv...> - 2001-09-24 11:58:40
|
On Mon, Sep 24, 2001 at 01:49:36PM +0200, Mattia Barbon wrote: > On Mon, 24 Sep 2001, alexander traum wrote: > > >Hi, > > > >I tried to compile wxPerl (0.07) on a Unix machine (Solaris,Linux,FreeBSD). <snip> I wondered if anyone yet tried to compile wxPerl on a Mac. If not, I'd like to ask around a bit at the guys doing MacPerl because this would *really* be the big pro for wxPerl compared to Tk. wxWindows itself is ported to the Mac, so I think in theory it should be possible. Cheers! -- *-----------------------------------------------* |Jouke Visser |jo...@pv... | |Perl GUI Geek |http://www.pvoice.org | *-----------------------------------------------* PS: Notice new mailaddress!! |
From: Mattia B. <mb...@ds...> - 2001-09-24 11:52:44
|
On Mon, 24 Sep 2001, alexander traum wrote: >Hi, > >I tried to compile wxPerl (0.07) on a Unix machine (Solaris,Linux,FreeBSD). Ah, you didn't read the README.txt, right ;-) ? I personally test wxPerl on Linux for every release, as specified in the README. >wxPerl ;) but it seems that the archives are missing some files. > >A "perl Makefile.PL" leads to error messages: > >Can't exec "wx-config": No such file or directory at build/Any_wx_config.pm You need to install wxWindows ( as IIRC is specified in the README.txt and/or INSTALL.txt ) >and the file is really missing. Also lots of header files are missing (settings.h >in the wx directory) to just mention one. Could you have a look on this >archive? Will there be binaries for Solaris as well as for Linux? I can just build binaries for Win32/Linux, as they are the only boxes I have access to. You can download wxWindows sources from http://www.wxwindows.org/ be sure to download the 2.2.7 version, as the 2.3.1 is a developent release. Be sure to read the installation docs/FAQs and the list archives at http://lists.wxwindows.org/search/. because there are some installation notes about Solaris. >Thats it for now - thanks and best wishes BTW: for the future, post to wxp...@li... : as I conly have access to Win32/Linux, someone else might answer better your questions about Solaris/FreeBSD . HTH Mattia |
From: Scott B. <sc...@go...> - 2001-09-22 23:28:30
|
Hi Mattia, > > Are all the functions/classes available in the perl API? > In fact *no one* is available (directly), but it is not difficult to > wrap them. The point is that wxStreams are of any use in wxWindows > ( C++ ), because > 1 - at the time they were written STL ( Standard Template Library, > the C++ standard library ) was much less widely available > than it is now > 2 - they have some Value Added ( like wxSocketStreams, > wxZlibStreams... ) > > I did not care to wrap them because most of what they provide > is available in perl ( maybe through CPAN modules ), > so there is little to gain in using them ( apart from the > nice wx prefix, I mean ;-) ) > The main problem I am having right now is POE depends on the event loop for which it is supporting for IO events such as knowing when data is available on an FD. In Gtk it uses Gtk::Gdk->input_add and Gtk::Gdk->input_remove which allows it to set up events based on weather an FD has stuff waiting or is ready to recieve data. I will do some more research and see if there is a way to work- around the lack of IO events. Thanks a lot for your time. Cheers, Scott -- -------------------- Gossamer Threads Inc. ---------------------- Scott Beck Email: sc...@go... Lead Software Developer Phone: (604) 687-5804 http://www.gossamer-threads.com Fax: (604) 687-5806 |
From: Scott B. <sc...@go...> - 2001-09-22 22:15:22
|
On Sat, 2001-09-22 at 13:43, Jouke Visser wrote: > Hi Scott, > > Mattia might have an answer to this question, but if not, you might try > to ask this question on the wxWindows mailinglist, because it seems it > is more related to the wxWindows API than wxPerl specifically. > Thanks, I will subscript to that list too :) Are all the functions/classes available in the perl API? > But great work you're doing here with the POE patch! > Thanks! I love POE and Wx looks to be the upcoming GUI for perl. It looks much nicer than Tk and is portable, what more can you ask! > -- > *-----------------------------------------------* > |Jouke Visser |jo...@pv... | > |Perl GUI Geek |http://www.pvoice.org | > *-----------------------------------------------* > PS: Notice new mailaddress!! > > _______________________________________________ Cheers, Scott -- -------------------- Gossamer Threads Inc. ---------------------- Scott Beck Email: sc...@go... Lead Software Developer Phone: (604) 687-5804 http://www.gossamer-threads.com Fax: (604) 687-5806 |
From: Jouke V. <jo...@pv...> - 2001-09-22 19:39:37
|
Hi Scott, Mattia might have an answer to this question, but if not, you might try to ask this question on the wxWindows mailinglist, because it seems it is more related to the wxWindows API than wxPerl specifically. But great work you're doing here with the POE patch! Jouke Visser On Sat, Sep 22, 2001 at 12:31:49PM -0600, Scott Beck wrote: > Hi, > > I am writting a patch for POE to work with the Wx event loop and > ran into a small snag. Does Wx currently have the ability to check > for data on a file descriptor? I found Wx::InputStream looking > through the code but I can not find any examples of it's usage. > I looked through the wxwindows site and found: > wxInputStream is an abstract base class which may not be used directly. > > Which it appears this Wx::InputStream is suppose to be an implimention > of. > > Any help with examples or explaination of usage will be > very appreciated. > > Cheers, > > Scott > > -- > -------------------- Gossamer Threads Inc. ---------------------- > Scott Beck Email: sc...@go... > Lead Software Developer Phone: (604) 687-5804 > http://www.gossamer-threads.com Fax: (604) 687-5806 > > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > -- *-----------------------------------------------* |Jouke Visser |jo...@pv... | |Perl GUI Geek |http://www.pvoice.org | *-----------------------------------------------* PS: Notice new mailaddress!! |
From: Scott B. <sc...@go...> - 2001-09-22 19:34:53
|
Hi, I am writting a patch for POE to work with the Wx event loop and ran into a small snag. Does Wx currently have the ability to check for data on a file descriptor? I found Wx::InputStream looking through the code but I can not find any examples of it's usage. I looked through the wxwindows site and found: wxInputStream is an abstract base class which may not be used directly. Which it appears this Wx::InputStream is suppose to be an implimention of. Any help with examples or explaination of usage will be very appreciated. Cheers, Scott -- -------------------- Gossamer Threads Inc. ---------------------- Scott Beck Email: sc...@go... Lead Software Developer Phone: (604) 687-5804 http://www.gossamer-threads.com Fax: (604) 687-5806 |
From: Mattia B. <mb...@ds...> - 2001-09-21 21:38:56
|
> Hi, Hi > I have a GUI that takes user input and does a system call to another > perl script. This works fine. What I would like to do is to divert > the latter program's standard output and error messages to a > TextCtrl on my GUI . Could anyone give me hints on how to get > started with this? Assuming the latter program is a long running one, you could use IPC::Open3 to spawn the program and get its STDOUT and STDERR, set up a timer, and in the timer function use select RBITS,WBITS,EBITS,TIMEOUT ( see perlfunc ) to see if something is available on STDERR/STDOUT, read and display it. HTH Mattia |
From: Veena R. <raj...@oh...> - 2001-09-21 20:30:20
|
Hi, Thank you very much Mattia Barbon for developing wxPerl. With the help of = your samples and Jouke Visser's tutorial I was able to get a simple GUI up = and running v.quickly.=20 I have a GUI that takes user input and does a system call to another perl = script. This works fine. What I would like to do is to divert the latter = program's standard output and error messages to a TextCtrl on my GUI . = Could anyone give me hints on how to get started with this? Thanks Veena Rajaraman |
From: Bradley M. H. <bh...@ja...> - 2001-09-17 00:50:11
|
I had tried this, but wasn't sure if that was the way to go. The only reason I was going to use this functionality is due to the fact that the "Long Help" message for a tool on the toolbar doesn't get removed from the status bar like it should. I was going to blank it out myself. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:bh...@ja... > -----Original Message----- > From: Mattia Barbon [mailto:mb...@ds...] > Sent: Sunday, September 16, 2001 3:46 PM > To: Bradley M. Handy > Subject: RE: [wxperl-users] Problems with EVT_TOOL_ENTER > > > > This did work for when the mouse moved over the control. However, the > > documentation says that the EVT_TOOL_ENTER event is also > supposed to handle > > when the mouse moves off of the control as well, and that is > not happening. > > > > I've included my code again for reference. > Mmh, looks quite broken. WRT your previous post, from the toolbar > docs: > > EVT_TOOL_ENTER(id, func) Process a wxEVT_COMMAND_TOOL_ENTER event. > ******Pass the id of the toolbar itself*******. The value of > wxCommandEvent::GetSelection is the tool id, or -1 if the mouse > cursor has moved off a tool. > > So in fact your previous code ( passing the tool id ) was wrong ( you > should have passed the toolbar id ); the fact that you don't get an > event for the leave, is wrong, anyway. > > Looking at the code, seems that nobody uses this feature, it got > broken someday, and no one noticed... > > Regards > Mattia > > |
From: Mattia B. <mb...@ds...> - 2001-09-16 21:30:32
|
I keep sending private messages instead of eeplying to the list... Sorry Mattia ------- Forwarded message follows ------- From: Mattia Barbon <mb...@ds...> To: "Bradley M. Handy" <bh...@ja...> Subject: RE: [wxperl-users] Problems with EVT_TOOL_ENTER Send reply to: mb...@ds... Date sent: Sun, 16 Sep 2001 21:46:11 +0200 > This did work for when the mouse moved over the control. However, the > documentation says that the EVT_TOOL_ENTER event is also supposed to handle > when the mouse moves off of the control as well, and that is not happening. > > I've included my code again for reference. Mmh, looks quite broken. WRT your previous post, from the toolbar docs: EVT_TOOL_ENTER(id, func) Process a wxEVT_COMMAND_TOOL_ENTER event. ******Pass the id of the toolbar itself*******. The value of wxCommandEvent::GetSelection is the tool id, or -1 if the mouse cursor has moved off a tool. So in fact your previous code ( passing the tool id ) was wrong ( you should have passed the toolbar id ); the fact that you don't get an event for the leave, is wrong, anyway. Looking at the code, seems that nobody uses this feature, it got broken someday, and no one noticed... Regards Mattia ------- End of forwarded message ------- |
From: Bradley M. H. <bh...@ja...> - 2001-09-16 17:48:47
|
This did work for when the mouse moved over the control. However, the documentation says that the EVT_TOOL_ENTER event is also supposed to handle when the mouse moves off of the control as well, and that is not happening. I've included my code again for reference. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:bh...@ja... > -----Original Message----- > From: wxp...@li... > [mailto:wxp...@li...]On Behalf Of Mattia > Barbon > Sent: Saturday, September 15, 2001 5:19 PM > To: wxp...@li... > Subject: Re: [wxperl-users] Problems with EVT_TOOL_ENTER > > > You didn't say platform/wxPerl version > I'll assume MSW/0.07 > > > I've got a test program that I'm messing around with to get the > hang of the > > wxPerl API. I'm trying to use EVT_TOOL_ENTER to captures mouse > events over > > a toolbar button. However, when I move my mouse over the button the > > subroutine does not execute. I was wondering, if I am defining the > > EVT_TOOL_ENTER definition wrong, or in the wrong spot. > > > > Could someone please see if I'm doing it right? > Well, for some value of right... the code *is* right, > but ( after some debugging ) *looks* like a bug in wxWindows > > > I've have attached my sample program code. > Thanks for the sample code! > > for now, use > EVT_TOOL_ENTER( $this, -1, \&Func ); > > and use $event->GetInt() in the event handler > to discriminate between the tools > ( of course it is an hack, but I need more investigation > for a proper fix ) > > BTW, as you might have noticed, putting -1 as the id in the > event macro, acts as a wildcard: matches all ids > > HTH > Mattia > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Bradley M. H. <bh...@ja...> - 2001-09-16 03:30:38
|
Sorry about not specifying all the proper information. Platform: Win98 wxPerl: 0.07 (assumption was correct). wxWindows: 2.2.7 In the meantime, I will try your suggestion and let you know. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:bh...@ja... > -----Original Message----- > From: wxp...@li... > [mailto:wxp...@li...]On Behalf Of Mattia > Barbon > Sent: Saturday, September 15, 2001 5:19 PM > To: wxp...@li... > Subject: Re: [wxperl-users] Problems with EVT_TOOL_ENTER > > > You didn't say platform/wxPerl version > I'll assume MSW/0.07 > > > I've got a test program that I'm messing around with to get the > hang of the > > wxPerl API. I'm trying to use EVT_TOOL_ENTER to captures mouse > events over > > a toolbar button. However, when I move my mouse over the button the > > subroutine does not execute. I was wondering, if I am defining the > > EVT_TOOL_ENTER definition wrong, or in the wrong spot. > > > > Could someone please see if I'm doing it right? > Well, for some value of right... the code *is* right, > but ( after some debugging ) *looks* like a bug in wxWindows > > > I've have attached my sample program code. > Thanks for the sample code! > > for now, use > EVT_TOOL_ENTER( $this, -1, \&Func ); > > and use $event->GetInt() in the event handler > to discriminate between the tools > ( of course it is an hack, but I need more investigation > for a proper fix ) > > BTW, as you might have noticed, putting -1 as the id in the > event macro, acts as a wildcard: matches all ids > > HTH > Mattia > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Mattia B. <mb...@ds...> - 2001-09-15 21:20:25
|
You didn't say platform/wxPerl version I'll assume MSW/0.07 > I've got a test program that I'm messing around with to get the hang of the > wxPerl API. I'm trying to use EVT_TOOL_ENTER to captures mouse events over > a toolbar button. However, when I move my mouse over the button the > subroutine does not execute. I was wondering, if I am defining the > EVT_TOOL_ENTER definition wrong, or in the wrong spot. > > Could someone please see if I'm doing it right? Well, for some value of right... the code *is* right, but ( after some debugging ) *looks* like a bug in wxWindows > I've have attached my sample program code. Thanks for the sample code! for now, use EVT_TOOL_ENTER( $this, -1, \&Func ); and use $event->GetInt() in the event handler to discriminate between the tools ( of course it is an hack, but I need more investigation for a proper fix ) BTW, as you might have noticed, putting -1 as the id in the event macro, acts as a wildcard: matches all ids HTH Mattia |
From: Bradley M. H. <bh...@ja...> - 2001-09-15 20:39:02
|
I've got a test program that I'm messing around with to get the hang of the wxPerl API. I'm trying to use EVT_TOOL_ENTER to captures mouse events over a toolbar button. However, when I move my mouse over the button the subroutine does not execute. I was wondering, if I am defining the EVT_TOOL_ENTER definition wrong, or in the wrong spot. Could someone please see if I'm doing it right? I've have attached my sample program code. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:bh...@ja... |
From: Bradley M. H. <bh...@ja...> - 2001-09-15 12:42:15
|
Thanks for all the help. That's exactly what I needed. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:bh...@ja... > -----Original Message----- > From: wxp...@li... > [mailto:wxp...@li...]On Behalf Of Mattia > Barbon > Sent: Saturday, September 15, 2001 4:20 AM > To: wxp...@li... > Subject: Re: [wxperl-users] Icons and Buttons > > > > Is there a way to make an Icon the label for Button using WxPerl. I've > > looked through the WxWindows docs and can't find it any where? > > Wx::BitmapButton, if your icon is a bitmap, > otherwise, do > > my $bitmap = new Wx::Bitmap( $icon ); > > to create a bitmap from the icon, and use the > resulting bitmap > > Regards > Mattia > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Mattia B. <mb...@ds...> - 2001-09-15 08:19:39
|
> Is there a way to make an Icon the label for Button using WxPerl. I've > looked through the WxWindows docs and can't find it any where? Wx::BitmapButton, if your icon is a bitmap, otherwise, do my $bitmap = new Wx::Bitmap( $icon ); to create a bitmap from the icon, and use the resulting bitmap Regards Mattia |
From: Jouke V. <jo...@co...> - 2001-09-15 07:02:49
|
What you want is probably wxBitmapButton. That lets you define an image for a button's label. It's derrived from wxButton. Jouke On Fri, Sep 14, 2001 at 03:53:52PM -0400, Bradley M. Handy wrote: > Is there a way to make an Icon the label for Button using WxPerl. I've > looked through the WxWindows docs and can't find it any where? > > Bradley M. Handy > Senior Programmer/Owner > Jack-of-all-trades Programming Services > --www.jack-of-all-trades.net > --mailto:bh...@ja... > > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > |
From: Bradley M. H. <bh...@ja...> - 2001-09-14 22:08:14
|
Is there a way to make an Icon the label for Button using WxPerl. I've looked through the WxWindows docs and can't find it any where? Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:bh...@ja... |
From: Mattia B. <mb...@ds...> - 2001-09-14 21:51:42
|
> Hello Hello > Tough I'm a bit in doubt > whether wxperl will work on the mac (primarily MacOSX, MacOS9 would > be cool too)? There are various problems: 1 - I don't have a Mac, so someone else shoild work on it ( any takers? ;-) ) 2 - wxWindows on MacOS X is still not as stable as the Windows/GTK ports, though it is progressing steadily, and the developers are generally very responsive WRT bugreports; on MacOS 9 it should be pretty stable though 3 - On MacOS 9 you need to use Codewarrior which isn't free If you want to give it a try to port wxPerl to MacOS, I'll be glad to help you as much as possible. I know almost nothing about Perl on Mac, but hearing that OS X is very Unix-ish, it should not be too hard. Anyway if you want to try the port, use the wxWindows' developement branch ( 2.3.1 ), or the CVS head. > I want to create a rather simple gui: create popup dialogs on top of > the desktop (maybe floating windows). It's for a networked message > application. It should pop up a window if it receives a message. > > carbon, but wxperl seems much more comfortable and if I can save the > porting work - even better. I'm afraid you'll need some work to port it > One important thing that I'm not clear about is the event handling: > I'm using nonblocking networking code (uses select() currently), so > somehow I need either to get an event from wxwindows' event handler > (?) or maybe will have to build an own event loop? Maybe as an ugly > workaround solution short timeouts (~0.2sec) in both loops and then > alternating them would be enough. wxWindows has wxSocket, which is integrated with the wxWindows' event system (i.e. you have an EVT_SOCKET macro to fire an event handler when something happens ). However you could as well try using a timer, with minimal modification of your code; it really depends upon your exact requirements. Regards Mattia |