Online training

2016-02-04 Thread Steve Cookson
Hello Guys, I keep thinking how can we lower the barriers to wxPerl and increase its uptake. I wondered if some online training might be quite nice. I would like to try creating some online training videos, maybe we could upload them to youtube or somewhere. I wondered if anyone knew of any cla

Re: Future of wiki.wxperl.nl

2016-02-01 Thread Steve Cookson - gmail
Hi Johan, On 01/02/16 13:34, Johan Vromans wrote: 27 days ago, the password forwxp...@gmail.com was changed. I no longer have access to this mailbox. What is wxp...@gmail.com? I should probably know this already. Regards Steve.

Re: Learning wxPerl - the book

2016-01-19 Thread Steve Cookson - gmail
Hi People, On 19/01/16 14:51, Meir Guttman wrote: 1. Shouldn't the name be “Part I - Introduction to GUI programming with wxPerl”? I agree. Maybe we don't want to take on the task of explaining GUI programming from scratch! 1. The equivalent of "Hello World", other than making sure t

Re: Learning wxPerl - the book

2016-01-19 Thread Steve Cookson
Hi Guys, On 18/01/16 22:10, James Lynes wrote: I have no idea if all of the Member Functions that are listed in the wxWidgets HTML docs are actually wrapped. Does anybody know of unwrapped classes and or members. We might start to draw up a listr. Regards Steve.

Re: The wxPerl wrap (part1)

2016-01-18 Thread Steve Cookson - gmail
Hi David, Thanks very much, Steve. On 18/01/16 17:33, David Kaufman wrote: Hi Steve! On Mon, Jan 18, 2016 at 10:20 AM, Steve Cookson - gmail wrote: Do you know of a web version of this, sadly my copy of Perl Cookbook is still in storage after the move. http://docstore.mik.ua/orelly/perl

Re: The wxPerl wrap (part1)

2016-01-18 Thread Steve Cookson - gmail
Hi James, Do you know of a web version of this, sadly my copy of Perl Cookbook is still in storage after the move. Regards Steve On 17/01/16 15:01, James Lynes wrote: Steve: Your Part 1 is very close to the Perl Cookbook section 12.18 Using h2xs to Make a Module with C Code. I've start

Re: Learning wxPerl - the book

2016-01-18 Thread Steve Cookson - gmail
Hi Ron, Thanks for this. On 17/01/16 12:53, Ron Grunwald wrote: 1. Introduction to GUI programming and wxPerl 2. The wxPerl widgets (currently worked on in the design doc.) 3. Geometry management in wxPerl (to be worked on next in the design doc.) 4. Event handling in wxPerl 5. Advanc

Re: Learning wxPerl - the book

2016-01-16 Thread Steve Cookson - gmail
Hi Ron, This is very good. But I don't yet have a feel for what the book will look like. Is there any chance we could draft a few chapters? Why don't you ask the responders in this thread if they would like to draft something each. And I would like to, please give me a chapter draft. May

Re: wxPerl Infrastructure Support Issues

2016-01-14 Thread Steve Cookson - gmail
en this area up to more people. The flavors of Perl and the Win/Mac/Linux platforms lead to a lot of combinations. I don't have a feel for the size of the wxPerl audience or the distribution of experience from beginner to package maintainer. James On Wed, Jan 13, 2016 at 2:31 AM, Stev

Re: wxPerl Infrastructure Support Issues

2016-01-12 Thread Steve Cookson - gmail
Hi Mehmet, Thanks for your email. James' list does indeed look intimidating, but I hope once we start the momentum will build. Wx and Alien::Widgets are not abandoned, they are just under-resourced. Here is a list of recent updates at sourceforge: http://sourceforge.net/p/wxperl/code/HEAD/t

Re: Learning wxPerl - Table of Contents

2016-01-09 Thread Steve Cookson
Hi All, There also a wxPython book http://serv.yanchick.org/Books/%D0%9F%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5/python/Manning.Publications.wxPython.in.Action.Mar.2006.pdf Maybe we can get some ideas from that too. That the wxPython google gro

Future of wiki.wxperl.nl

2016-01-09 Thread Steve Cookson - gmail
Hi Johan, I think it's up to you now. We have a group of volunteers, 5 in all, and I think we should just start. They seem to be Me (Steve Cookson), James Lynes, Michael Roberts, Joseph Karwisch and Erik Colson. On 08/01/16 12:58, Joseph Karwisch wrote: Erik, Michael and James Re

Re: wxPerl Infrastructure Support Issues

2016-01-09 Thread Steve Cookson
On 09/01/16 01:04, James Lynes wrote: Book Format(?) Ebook Wiki Printable(pdf) Tool(What's the currrent hot tool?) Other In fact I think the format should be all the above, but contribution and the working document should be the wiki, because it is the

Re: wxPerl Infrastructure Support Issues

2016-01-09 Thread Steve Cookson - gmail
Hi, Herbert seems to have put an entry for the book on the wiki anyway. I've updated the contents list with James' list here. http://wiki.wxperl.nl/WxPerlBook I've put the rest here. http://wiki.wxperl.nl/WxPerlRoadmap Regards Steve. On 09/01/16 01:04, James Lynes wrote: Until I can get t

Re: Future of wxperl.it

2016-01-08 Thread Steve Cookson - gmail
e upshot is that I can develop and test under Linux and Windows at the same time without even getting up from my chair. On 2016-01-07 11:03, Michael Roberts wrote: Ubuntu and Windows. On 2016-01-07 10:45, Steve Cookson wrote: Hi Guys, James' point is a very good one. What platform expert

Re: Future of wxperl.it

2016-01-07 Thread Steve Cookson - gmail
Regarding the book, here is a nice website with some examples. http://learnperl.scratchcomputing.com/tutorials/wxperl/ Maybe Eric (who I've copied) would be happy if you used it. He has sizer examples and other stuff. Regards, Steve.

Re: Future of wxperl.it

2016-01-05 Thread Steve Cookson
Sorry, updated and re-sent. *** Hi Johan, On 04/01/16 11:05, Johan Vromans wrote: If Steve, Eric and James want to team up, you have my blessing and support. I would be honoured to be part of the team. This reply concerns wiki.wxperl.nl, not wxperl.it I have been a me

Re: Future of wxperl.it

2016-01-05 Thread Steve Cookson - gmail
Hi Johan, On 04/01/16 11:05, Johan Vromans wrote: If Steve, Eric and James want to team up, you have my blessing and support. I would be honoured to be part of the team. This reply concerns wiki.wxperl.nl, not wxperl.it I have been a member of the wxperl list since 2008 or 2009. I have been

Re: Future of wxperl.it

2016-01-04 Thread Steve Cookson - gmail
layout of a book. Kind Regards. Ron Grunwald ron...@yahoo.com.au http://www.dvlcorner.org On 4/01/16 7:17 AM, "Steve Cookson - gmail" wrote: Hi Guys, There is a lot of stuff on the wiki. (See here http://wiki.wxperl.nl/Main_P

Re: Future of wxperl.it

2016-01-04 Thread Steve Cookson
Oh, sorry I just saw this. Eric, do you want to work with me and share this? Regards Steve. On 04/01/16 07:28, Erik Colson wrote: Johan Vromans writes: In the posting that started/renewed this thread I wrote that the wxPerl domains and wiki will get lost in the near future unless someone s

Re: Future of wxperl.it

2016-01-04 Thread Steve Cookson
Johan Vromans wrote: On Sun, 03 Jan 2016 23:17:27 + Steve Cookson - gmail wrote: There is a lot of stuff on the wiki. (See here http://wiki.wxperl.nl/Main_Page). And here the circle closes... In the posting that started/renewed this thread I wrote that the wxPerl domains and wiki will get lo

Re: Future of wxperl.it

2016-01-03 Thread Steve Cookson - gmail
Hi Guys, There is a lot of stuff on the wiki. (See here http://wiki.wxperl.nl/Main_Page). How to structure a good wxPerl GUI? (Possibly an existing GUI design text) - Do you mean a development guide? I don't know of a good one. Herbert started to write one but I don't know how

Re: Wx 0.9928 Released

2016-01-03 Thread Steve Cookson - gmail
Hi Mark, Happy New Year. Great that you fixed this. Thanks very much. I looked at code and I didn't understand. It seems that you've added a wxTimer::Notify event. But I don't understand why this should cause a memory leak. Weird. Was there a problem with the undertlying wxWidgets as well

Re: Future of wxperl.it

2016-01-02 Thread Steve Cookson
Hello Guys, Well I'm still here. For the last two years I've been hung up with supplier management and Brazilian importation. Plus we've just moved house in the UK and you may have noticed the annual festivities as well. However, New Year, New Year's resolutions! I care about wxPerl and t

Re: How do you share an object(Telnet Sesion) between threads?

2015-10-01 Thread Steve Cookson - gmail
Sorry, I forgot you were talking about communicating between threads. On 30/09/15 18:15, James Lynes wrote: The Monks said basically you can't do that. Not supported by threads::shared. Only references to shared scalers are supported. Possibly a convoluted way to manipulate object internals. Se

Re: How do you share an object(Telnet Sesion) between threads?

2015-09-30 Thread Steve Cookson - gmail
Hi James, I'm not sure what you already know, but any OO-style module should be of the form $obj=Foo::Bar->new(); $obj is a pointer that holds the class and the object as the first two variables and you should be able to access anything from it. use Net::Telnet (); $obj = Net::Tel

Re: Async processing issue within an event handler

2015-09-29 Thread Steve Cookson
Hi James, (Whoops, forgot to copy list). On 28/09/15 16:15, James Lynes wrote: Your comment clicked. I see where a Timer will be the way to check my flags. I set mine up to run in: sub OnInit { # # Wx::Timers # # Start processing job queue $gl_media_control_available=0; $gl_i_Main

Re: Async processing issue within an event handler

2015-09-27 Thread Steve Cookson
Hi James, On 24/09/15 18:13, James Lynes wrote: Based on your comments I went and read the Perl Threads tutorial and searched Perl Monks for Wx and Threads(very little there). Also no working example on the wxPerl Wiki. I think Threads and Threads::Shared with lock() is the way to go. Now I

Re: Async processing issue within an event handler

2015-09-24 Thread Steve Cookson
Hi James, On 21/09/15 23:43, James Lynes wrote: I apologize for the length of this question in advance. Background: The July 2015 issue of Nuts and Volts magazine had an article on using an inexpensive DVB-T USB dongle along with a 24MHz upconverter as the basis for an HF and higher Software

On not repainting dialog boxes.

2015-09-10 Thread Steve Cookson
Hi People, I just thought I'd post this thought. I've variously been having problems with pieces of code if I run them too often (actually, it turned out that this was because I had created but not activated my swap file. Who'd have guessed?). Anyway in the course of trying to track this dow

Re: [rt.cpan.org #105468] 01-load.t: Can't locate Wx/Media.pm

2015-06-24 Thread Steve Cookson via RT
Wed Jun 24 13:26:24 2015: Request 105468 was acted upon. Transaction: Correspondence added by steve.cook...@sca-uk.com Queue: Wx Subject: Re: [rt.cpan.org #105468] 01-load.t: Can't locate Wx/Media.pm Broken in: 0.9927 Severity: (no value) Owner: Nobody Requestors: dol...

Re: [rt.cpan.org #105468] 01-load.t: Can't locate Wx/Media.pm

2015-06-24 Thread Steve Cookson
Hi Oliver, Wx::Media.pm has a number of dependencies and I don't know if these are installed by cpan or not. These are : apt-get -y install libgconf2-dev libgtk2.0-dev # Needed as wxMediaCtrl dependency apt-get -y install libgstreamer0.10-dev

Re: Reloading a Bitmap

2015-06-19 Thread Steve Cookson - gmail
Hi James, On 18/06/15 15:19, James Lynes wrote: SetBitmap works, as in: Â Â Â $frame->{bmp} = Wx::Bitmap->new("dwf.png", wxBITMAP_TYPE_PNG); Â Â Â $frame->{sbm}->SetBitmap($frame->{bmp}); Where $frame->{sbm} is a Static Bitmap. Ok, mine works too, I don quite know why the demo doesn't. I w

Re: Reloading a Bitmap

2015-06-18 Thread Steve Cookson - gmail
Hi James, On 17/06/15 15:14, James Lynes wrote: I will try the SetBitmap method. Take a look at the wxStaticBitmap demo in the wxDemo package. It appears to be broken. It does a ->SetBitmap followed by a ->Refresh. The bitmap is not clearing(for me at least). No, it doesn't for me either. I'

Re: Reloading a Bitmap

2015-06-17 Thread Steve Cookson - gmail
Hi James, On 13/06/15 15:42, James Lynes wrote: In a script I am working on now, I need to do basically the same thing except in this case the PNG will be changing and the bimaps wil need to update also. How would i go about this? I believe ->SetBitmap ($bitmap) will do the job. http://docs.w

Re: Wx::Perl seems to be leaking memory

2015-06-02 Thread Steve Cookson - gmail
Hi Mark, How are you getting on? I imagine it was not as straight-forward as you hoped. Here are some random thoughts. I am still trying to sort out memory leaks. Almost everything that you can imagine seems to be leaking. I even thought that dbi:: was leaking however it turned out just

Re: Wx::Perl seems to be leaking memory

2015-05-21 Thread Steve Cookson
s. Every Wx::Timer event or call to an overridden 'Notify' method leaks 1 SV. I don't have a solution but will work on it over the weekend. Regards Mark On 21/05/2015 11:54, Steve Cookson wrote: Hmm.., On 20/05/15 17:49, Steve Cookson - gmail wrote: If I create a few contro

Re: Wx::Perl seems to be leaking memory

2015-05-21 Thread Steve Cookson
Mark, On 21/05/15 10:50, Mark Dootson wrote: Every Wx::Timer event or call to an overridden 'Notify' method leaks 1 SV. I don't have a solution but will work on it over the weekend. Amazing, I just came to the same conclusion, but I have no idea what to do from here. I'll have a look too, bu

Re: Wx::Perl seems to be leaking memory

2015-05-21 Thread Steve Cookson
Hmm.., On 20/05/15 17:49, Steve Cookson - gmail wrote: If I create a few controls in a dialog, delete the dialog, use $app->Yield for the background processing to take place, I still end up with more Perl objects after the deletion than before. Well actually, although the count builds

Re: Combo and ClientData (was: RE: Help with Wx::Perl::PubSub)

2015-05-21 Thread Steve Cookson - gmail
Hi François, On 21/05/15 04:31, RAPPAZ Francois wrote: Steve, Thanks for the example and the urls. I'm on W7 and I didn't want to install Python + wxPython, so I'm using wxFormBuilder to produce xrc files that I load with perl. The problem with xrc files is that they are not perl, so you learn

Re: Wx::Perl seems to be leaking memory

2015-05-20 Thread Steve Cookson - gmail
On 14/05/15 15:24, Steve Cookson wrote: That has been a very painful lesson. We've now run over 60 video tests with no crashes, so I hope it is resolved. I spoke too soon: the crashes have just moved to a different part of the system. I've cut down a piece of code to try to i

Re: Help with Wx::Perl::PubSub

2015-05-19 Thread Steve Cookson - gmail
Hi François, On 19/05/15 07:55, RAPPAZ Francois wrote: Another question: I would like to have a dropdbox that list usernames and that return a userid when one select a name. Shall I use a Wx::ListBox or Wx::ListCtrl ? Can you point me to some codes examples ? I would use wx::combobox (here: h

Re: Help with Wx::Perl::PubSub

2015-05-14 Thread Steve Cookson - gmail
Hi François, This is very interesting. I've not seen it before, what is it supposed to do to events and why is it better than the standard way of handling them? Regards Steve. On 12/05/15 09:29, RAPPAZ Francois wrote: I would like to bind a TextChanged event with a Wx::TextCtrl. I have th

Re: Wx::Perl seems to be leaking memory

2015-05-14 Thread Steve Cookson
Wx::Frames is to add an EVT_CLOSE handler to your Wx::Frame derived class and have the frame call $self->Destroy in your EVT_CLOSE handler. That way whenever a frame is closed, it will be properly deleted during idle time. Hope it helps. Mark On 11/05/2015 17:05, Steve Cookson wrote: Hi

Re: Wx::Perl seems to be leaking memory

2015-05-11 Thread Steve Cookson
l SV. So that SV won't go away until the C++ structure is deleted - which will never happen until your event loop is running. Hope this helps. Mark On 11/05/2015 14:32, Steve Cookson wrote: Hi Guys, I started to talk about this on Perl Monks, you may have seen it here: http://www.perl

Wx::Perl seems to be leaking memory

2015-05-11 Thread Steve Cookson
Hi Guys, I started to talk about this on Perl Monks, you may have seen it here: http://www.perlmonks.org/?node_id=1125580 An anonymous monk posted some code that showed just about every call to Wx leaking a scalar or two. I've played about with the posted code and there is a copy attached to

Re: [rt.cpan.org #104298] Wx can't be installed in Ubuntu 14.04

2015-05-07 Thread Steve Cookson - gmail via RT
Thu May 07 13:36:32 2015: Request 104298 was acted upon. Transaction: Correspondence added by steveco.1...@gmail.com Queue: Wx Subject: Re: [rt.cpan.org #104298] Wx can't be installed in Ubuntu 14.04 Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: sh

Re: Can you display a bitmap with/inside of a sizer?

2015-05-07 Thread Steve Cookson
the top sizer be a horzontal rather than vertical? Trying to make some sense of this sizer stuff. James PS: Did you find your memory leak? On Mon, May 4, 2015 at 11:32 AM, Steve Cookson mailto:steve.cook...@sca-uk.com>> wrote: Hi James, Y

Re: help with gif in XRC file

2015-05-04 Thread Steve Cookson - gmail
Hi Francois, I don't recall the your installation was sooo painless! Is the .gif path correct? It looks kinda short. Steve. On 01/05/15 08:22, RAPPAZ Francois wrote: Hi I have upgrade to a recent strawberry and the installation of Wx was painless. The errors when the main frame close are go

Re: Can you display a bitmap with/inside of a sizer?

2015-05-04 Thread Steve Cookson
Hi James, You want Wx::StaticBitmap, like this: my $bmp = Wx::Bitmap->new("path/to/bitmap.png", wxBITMAP_TYPE_PNG) ; my $sbm = Wx::StaticBitmap->new($parent, wxID_ANY, $bmp, wxDefaultPosition, wxDefaultSize, ); $sizer->Add($sbm, 0, 0, 0); Regards Steve. On 02/05/15 16:05, James

Re: Cann't Perl Build with wxWidget 3.0.2

2015-04-17 Thread Steve Cookson
my $frame = Wx::Frame->new( undef, -1, "Trivial Sample" ); $frame->Show; $app->MainLoop; -Original Message- From: Steve Cookson [mailto:steve.cook...@sca-uk.com] Sent: vendredi, 17. avril 2015 09:42 To: RAPPAZ Francois; wxperl-users@perl.org Subject: Re: Cann't P

Re: Cann't Perl Build with wxWidget 3.0.2

2015-04-17 Thread Steve Cookson
Hi Francois, On 17/04/15 04:01, RAPPAZ Francois wrote: Is there a way I could successfully install Wx::Alien and telling him : use my "standalone" setup of wxWidgets, don't build your own ? There is a parameter (--prefix), which I don't use, but you can play with it. If you do a search on the

Re: Cann't Perl Build with wxWidget 3.0.2

2015-04-16 Thread Steve Cookson
Hi Francois, I'm sorry your having such difficulties. I'm watching your progress with interest. Unfortunately I only use Linux, so I can't see what your seeing. Have you tried 3.0.1? Did that work? Maybe it could help you with this problem. Apparently the API is exactly the same. When

Re: [rt.cpan.org #103235] Support for TreeListCtrl->EnsureVisible(item)

2015-04-12 Thread Steve Cookson - gmail via RT
Sun Apr 12 10:31:10 2015: Request 103235 was acted upon. Transaction: Correspondence added by steveco.1...@gmail.com Queue: Wx Subject: Re: [rt.cpan.org #103235] Support for TreeListCtrl->EnsureVisible(item) Broken in: (no value) Severity: (no value) Owner: Nobody Reque

Re: [rt.cpan.org #103235] Support for TreeListCtrl->EnsureVisible(item)

2015-04-12 Thread Steve Cookson - gmail
Hi Robert, The corresponding change in wxPerl would be to the file: TreeCtrl.xs in the wxPerl/XS directory. The syntax looks a little painful, maybe because of the history of wxTreeCtrl, but if you took the existing void function IsExpanded and copied it to create this: #if WXPERL_W_VERS

Re: [rt.cpan.org #103129] build failure with wx 2.8 on Ubuntu 14.04: wxComboBox has no member RemoveSelection

2015-03-26 Thread Steve Cookson - gmail
Hi Oliver, I haven’t seen this before. I guess it's to do with Perl 5.20, rather than wx2.8, which I also use: I'm still trying to complete my migration to the 3.0 branch! How did you install the Perl 5.20? I'll try to copy your install. regards Steve On 26/03/15 06:01, Olivier Mengué via

Re: Clean Shutdown

2015-01-31 Thread Steve Cookson - gmail
method. Thanks for the sample code. James On Thu, Jan 29, 2015 at 12:28 PM, Steve Cookson - gmail mailto:steveco.1...@gmail.com>> wrote: Hi James, I've replied to the list as well because I feel it needs a bit of loving! On 28/01/15 18

Re: Clean Shutdown

2015-01-29 Thread Steve Cookson - gmail
Hi James, I've replied to the list as well because I feel it needs a bit of loving! On 28/01/15 18:23, James Lynes wrote: Hi Steve: How's your project rollout going? Very kind of you to ask. The launch went very well, since then we have been dealing with the manufacturer and we are working t

Re: Wx::Perl::Imagick

2015-01-20 Thread Steve Cookson - gmail
Hi Garu, I haven't seen you since the SP YAPC. I hope you are well. We have all returned to the UK now. That Wx::Perl::Imagick advice was very nicely done. Good luck, Regards Steve. On 18/01/15 22:49, breno wrote: On Sun, Jan 18, 2015 at 6:47 PM, Daniel > wrot

Re: Wx::Perl::Imagick

2015-01-18 Thread Steve Cookson - gmail
uld probably be able to check by typing "perl -MImage::Magick -E1" on the command line and seeing if it doesn't complain about the module not being installed), I suggest you reinstall Wx::Perl::Imagick. Let us know how it goes! Cheers, garu On Wed, Jan 14, 2015 at 5:45 P

Re: Wx::Perl::Imagick

2015-01-14 Thread Steve Cookson - gmail
Hi Daniel, It's a while since I used ImageMagick, although I have had it running in the past. I don't use Citrus, or indeed Windows, myself, but I know others here do. Is it a clean install? It sounds as if your problems are linked. Maybe if you looked into the first one, the second would f

Re: Future of wxperl.it

2015-01-05 Thread Steve Cookson - gmail
Thanks Mark, Nice job. Steve. On 05/01/15 18:11, mark.doot...@znix.com wrote: This message is to confirm the successful renewal of wxperl.it for 1 year(s). The new expiration date is 2016-03-03 22:59:59. On 2015-01-05 17:48, Alexander xb wrote: Who is maintaining it now? How much are the f

Re: How to get the time_t value from a Wx::DateTime

2015-01-02 Thread Steve Cookson - gmail
Ah, I didn't check the header file. I just looked at the main file. On 02/01/15 17:30, James Lynes wrote: For my own education, is this a problem of version? I ask because on my 3.0.1 system, I spent some time last night digging around and in wx/datetime.h I found:

Re: How to get the time_t value from a Wx::DateTime

2015-01-02 Thread Steve Cookson - gmail
Hi Dave, GetTicks() returns the number of seconds since the start of 1970. It seems to be the same as GetTimeNow, but as you say, neither seem to be wrapped. However, Perl is so rich in various functions and as you don't seem to need any particular GUI control, I suggest you use something fr

Re: wxTreeListCtrl::DeleteAllItems crash

2014-12-08 Thread Steve Cookson
On 08/12/14 16:35, s...@akalabs.net wrote: It is absolutely part of wxperl already. I have it built against gtk3 and Wx3. Ok, I'm running 2.8 again, I'll check on another machine with 3 or 3.0.1. Regards Steve.

Re: wxTreeListCtrl::DeleteAllItems crash

2014-12-08 Thread Steve Cookson - gmail
Hi Sam, You may be right. But I found it a bit hard to test. Firstly, I didn't have this installed, so I had to install Wx::TreeListCtrl separately from CPAN. After I had fixed the "variable on 4 redefines earlier object" it crashes on my system with: Can't locate object method "Delet

Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods

2014-12-03 Thread Steve Cookson - gmail via RT
Wed Dec 03 04:41:14 2014: Request 100550 was acted upon. Transaction: Correspondence added by steveco.1...@gmail.com Queue: Wx Subject: Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods Broken in: 0.9923 Severity: Wishlist Owner: Nobody Requestors: dol...@cpa

Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods

2014-12-03 Thread Steve Cookson - gmail
Hi Oliver, I just went in to make these changes and saw that they were already there. If you just download wxPerl again it should work alright. Do you think that it doesn't? What are you seeing? All of: wxProgressDialog::GetRange() wxProgressDialog::GetValue() wxProgressDialog::GetMessage(

Post launch thanks

2014-11-30 Thread Steve Cookson
Hi Guys, After six years of graft and toil we have just launched our project i-Mage at a medical conference in Rio de Janeiro, Brazil and I thought I would just write to you all to thank you for your support over the years. There were times when I thought we wouldn't make it. The system is

Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods

2014-11-26 Thread Steve Cookson
On 26/11/14 11:51, Steve Cookson - gmail via RT wrote: wxString wxProgressDialog::GetMessage() int value Actually, that should probably be wxString* wxProgressDialog::GetMessage() Sorry, Steve

Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods

2014-11-26 Thread Steve Cookson via RT
...@cpan.org Status: open Ticket https://rt.cpan.org/Ticket/Display.html?id=100550 > On 26/11/14 11:51, Steve Cookson - gmail via RT wrote: > wxString > wxProgressDialog::GetMessage() > int value Actually, that should probably be wxString* wxProgressDialog::GetMessage() Sorry, Steve

Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods

2014-11-26 Thread Steve Cookson - gmail
Hi Oliver, Thanks for this. If I make some patches, would you be able to test it? I've put some draft new code below (untested). It goes in wxPerl/XS/ProcessDialog.xs, at the end of the file. You can update the file and then "cd xPerl" "make" "make install". I am travelling at the moment,

Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods

2014-11-26 Thread Steve Cookson - gmail via RT
Wed Nov 26 06:51:37 2014: Request 100550 was acted upon. Transaction: Correspondence added by steveco.1...@gmail.com Queue: Wx Subject: Re: [rt.cpan.org #100550] Wx::ProgressDialog: missing methods Broken in: 0.9923 Severity: Wishlist Owner: Nobody Requestors: dol...@cpa

FastSplash and "WxPerl,beyond Frames and Buttons"

2014-11-18 Thread Steve Cookson
Hi People, I was just look for something to replace SplashScreen, which I don't really like and it gives me errors when testing with Valgrind (If you haven't tried Valgrind, you really should "valgrind perl foobar.pl") and I found this: http://lichtkind.de/vortrag/beyondwxp.pdf and I though

Re: refresh+update on macosx

2014-11-12 Thread Steve Cookson
Hi Eric, On 11/11/14 21:18, Erik Colson wrote: Steve Cookson writes: What is your requirement? For this I don't want to let the user interact. I wan't the user to see what's happening by telling him in a log window (TextCtrl). So I don't want any user interaction to be

Re: refresh+update on macosx

2014-11-11 Thread Steve Cookson
Hi Eric, > Other ideas ? Well I don't know what your requirement is, but I have quite a bit of background processing going on (eg playing a video in the foreground while taking photos and clips in the background, also any warnings are emailed electronically to me, any emails sent by the user

Re: refresh+update on macosx

2014-11-11 Thread Steve Cookson
Hi Eric, Firstly, I rather like the ->{TERM} idea of your application. The concept has a sort of retro feel to it. Very cool. I might try to build something using this idea. (I'd really like Linux smartphone with a just a command prompt on it! I'd type "call somebody" and it would dial the

Re: refresh+update on macosx

2014-11-10 Thread Steve Cookson - gmail
Hi Eric, I had a similar case with updating a progress bar during a database update. The answer is $app->Yield(); In your case if you make the $app variable global and add $app->Yield() to the loop, it works (at least on Linux): sub OnInit { our $app = shift; . . . . . sub addTxt {

Re: wxTreeCtrl InsertItem Method

2014-11-07 Thread Steve Cookson
Hi James, On 05/11/14 21:30, James Lynes wrote: I couldn't find a method that returns an item's position under a node, so I wrote a sub to loop through all the children of a node and calculate the index(get_item_index). Surprised this function wasn't in wxWidgets. I'm sure we all write littl

Re: wxTreeCtrl InsertItem Method

2014-11-05 Thread Steve Cookson
Hi James, On 05/11/14 17:14, James Lynes wrote: I assume that you were looking in TreeCtrl.xs(I'm starting to see how/where things are done!) Yes. I see that InsertItemPrev needs two item pointers while InsertItemBef uses one pointer and one index. I'll give InsertItemBef a try, it's not i

Re: wxTreeCtrl InsertItem Method

2014-11-05 Thread Steve Cookson
Oh James, stop press, On 05/11/14 14:48, Steve Cookson wrote: If you look at the two methods (InsertItem <http://docs.wxwidgets.org/trunk/classwx_tree_ctrl.html#a06e1e6b25a7121922412eea510bd3109>), it looks to me as though the second would be the most intuitive. "Insert" norma

Re: wxTreeCtrl InsertItem Method

2014-11-05 Thread Steve Cookson
Hi James, It looks a bit complicated. I'm not a user of TreeCtrl. On 05/11/14 14:03, James Lynes wrote: Good Day All: I'd like to use the wxTreeCtrl InsertItem method. 1. I tried calling it and got a loading error which unfortunately I didn't copy down the exact wording. Is this method wr

Re: wxDemo wxTreeCtrl demo

2014-11-03 Thread Steve Cookson - gmail
Hi James, Interesting glitch. But it looks like a Native wxWidgets glitch not a wxPerl glitch. On 03/11/14 01:36, James Lynes wrote: Run the wxDemo TreeCtrl demo Background changes to red(selected) Rename the node Background stays red Mine is blue, so I guess it's dependent

Re: Install Script Feedback

2014-10-27 Thread Steve Cookson
Hi James, Firstly it's a really very cool script. The comments are excellent and I don't know that I can any longer claim authorship of it, I think you should put your own name and author and say something like: "Based on a script provided by Steve Cookson" or someth

Re: Install Script Feedback

2014-10-25 Thread Steve Cookson
t the directories effected. The list I sent you before had been manually generated. Still working on logging options. James On Thu, Oct 23, 2014 at 10:03 AM, Steve Cookson mailto:steve.cook...@sca-uk.com>> wrote: On 23-10-2014 15:01, James Lynes wrote: This approach is probably

Re: Install Script Feedback

2014-10-23 Thread Steve Cookson
On 23-10-2014 15:01, James Lynes wrote: This approach is probably safer than just the warning note that I put in, but the list of files to be deleted is 21 printed pages, so it may not be practical to have that scroll across the screen. You couldn't really review it. Could you not just sho

Re: Install Script Feedback

2014-10-23 Thread Steve Cookson
screen and the log file. If you know a better way, let me know. I'd rather not have all the compile stuff going to the screen. I am not a shell guru! I changed the find root directory and added a warning statement also. James On Mon, Oct 20, 2014 at 4:18 PM, Steve Cookson mailto:steve.cook...

Re: Install Script Feedback

2014-10-22 Thread Steve Cookson
Hi James, On 22-10-2014 18:05, James Lynes wrote: So, now I have everything going to both the screen and the log file. If you know a better way, let me know. I'd rather not have all the compile stuff going to the screen. I am not a shell guru! I suspect there is some syntax, as there is in perl

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson - gmail via RT
Tue Oct 21 16:38:25 2014: Request 99607 was acted upon. Transaction: Correspondence added by steveco.1...@gmail.com Queue: Wx Subject: Re: [rt.cpan.org #99607] Issue using wxTextEntryBox Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: pwnbusiness2...

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson - gmail
Hi Patrick, On 21-10-2014 21:16, Patrick via RT wrote: Thanks for the reply, Steve. I can see what you are saying. I have C and some slight C++ experience from years ago. It was just when OOP was starting to take off. I'd be glad to try to get oriented enough that I could make a little co

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson
Hi Patrick, On 21-10-2014 17:06, Patrick via RT wrote: When I create a wxSingleChoiceDialog, that does show up as a child. Why is the handling of these two different? Well, the implementation of the wxSingleChoiceDialog is much more complicated. You can look in wxPerl::XS. Here isTextEntryB

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson via RT
Tue Oct 21 15:43:41 2014: Request 99607 was acted upon. Transaction: Correspondence added by steve.cook...@sca-uk.com Queue: Wx Subject: Re: [rt.cpan.org #99607] Issue using wxTextEntryBox Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: pwnbusiness2.

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson - gmail
Hi Eric, On 21-10-2014 09:20, Erik Colson via RT wrote: In conclusion: destroying $frame destroys $panel, but won't destroy $dialog, because it is_not_ the child of $panel. So, you are on your own to destroy the dialog with $dialog->Destroy; you can argue against this behaviour, but this is r

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson via RT
Tue Oct 21 04:00:48 2014: Request 99607 was acted upon. Transaction: Correspondence added by steve.cook...@sca-uk.com Queue: Wx Subject: Re: [rt.cpan.org #99607] Issue using wxTextEntryBox Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: pwnbusiness2.

Re: [rt.cpan.org #99607] Issue using wxTextEntryBox

2014-10-21 Thread Steve Cookson
Hi Patrick, On 21-10-2014 00:52, Patrick via RT wrote: my $self = $ref->SUPER::new( undef, 1, 'Parent Window', Wx::wxDefaultPosition, [500, 500], ); my $panel = Wx::Panel->new( $self, 2 ); If you use -1 (or wxID_ANY) as the widget ID, it will assign the next free identifier. Then you don't have

Re: Install Script Feedback

2014-10-20 Thread Steve Cookson
Hi James, On 20-10-2014 21:05, James Lynes wrote: I don't see where any unrelated packages were effected. It seems that it would be prudent to begin the find at /usr/local/. Your respondent was right. I always loose Flamerobin (the Firebird database manager) and have to reinstall it afterwards

Re: Install Script Feedback

2014-10-20 Thread Steve Cookson - gmail
Hi James, Thanks for putting it out there. And great response. My comments follow. Steve. On 20-10-2014 18:20, James Lynes wrote: I got the following feedback from posting the install script on Perl Monks. Any thoughts? Willing to keep it updated as needed. I see 3.0.2 is available. Is

Re: Fwd: Patch for wxTimer::StartOnce

2014-10-20 Thread Steve Cookson - gmail
On 20-10-2014 13:41, Erik Colson wrote: Does that fail to compile on Windows ? I don't know, I'm Linux. But I have had problems with this (on Linux) in the past and that was what my patch was about. Maybe I don't need it any longer. Steve.

Re: wxperl: svn to git

2014-10-20 Thread Steve Cookson
, in which case we only have the validation of the Build.PL file. A much smaller task and less prone to error. What do you think? Regards Steve. On 19-10-2014 23:21, Erik Colson wrote: Steve Cookson writes: 3.0.1 - Does this conflict with Mark has applied? Did you look at Mark's most r

Re: wxTimer problem

2014-10-20 Thread Steve Cookson
Hi Eric, On 20-10-2014 06:37, Erik Colson wrote: I checked the archives and at first sight your prob is Windows related. Am I correct in this, or did you try Linux too ? The crash started a long time ago, but it was a compile problem on Kubuntu. I can try again to see if it is still there. Re

  1   2   3   4   5   >