Re: wxPerl past, wxPerl present and wxPerl future.

2013-01-02 Thread Huub Peters
well we should have something live under wiki.wxperl.nl in the next couple of hours. I hope this helps, Chees, Huub Peters On Jan 2, 2013, at 10:09 PM, Steve Cookson wrote: > Ok, so the /etc/hosts things works perfectly. What would you have to > put on a web-forwarding service where it's

Re: wxPerl on iPad

2011-08-17 Thread Huub Peters
On Aug 17, 2011, at 10:32 AM, Cosimo Streppone wrote: > On Wed, 17 Aug 2011 00:15:47 +0200, John Ralls wrote: > >> On Aug 16, 2011, at 3:38 AM, Erik Colson wrote: >> >>> On 16 Aug 2011, at 09:40, Johan Vromans wrote: >>> How about iPad? Is it possible to run wxPerl on iPad? Wi

Re: Image in Wx::Button does not seem to be implemented in WxPerl yet

2011-02-16 Thread Huub Peters
On Feb 16, 2011, at 12:31 PM, herbert breunung wrote: > Am 16.02.2011 01:18, schrieb Stephen Brickles: >> I am using a fresh copy of Perl 5.12.3 on x86_64 Redhat 4. >> I've installed Alien-WxWidgets from the subversion repository using wx >> widgets version 2.9.1 >> and the Wx perl module from t

Re: Key combination detection in WxPerl

2011-01-03 Thread Huub Peters
On Jan 3, 2011, at 8:55 AM, Octavian Rasnita wrote: > Hi and I wish you a happy new year, Likewise.. > > Regarding the detection of hotkeys in a WxPerl application, please tell me > which keys can be detected. > > I have seen that I can't detect when the Alt key is pressed. > > I am interest

Re: EVT_KEY_DOWN Issue

2011-01-02 Thread Huub Peters
On Jan 2, 2011, at 7:45 PM, Pawel Krol wrote: > Hello! > > This is my first message to this mailing list, so I would like to say "hi!" > to everyone. > Welcome! > I am writing this e-mail, seeking for help from more experienced wxPerl > users. A problem I am dealing with is that I cannot get

Re: Distributing wxPerl applications

2010-12-20 Thread Huub Peters
On Dec 21, 2010, at 8:09 AM, Huub Peters wrote: > On Dec 21, 2010, at 3:41 AM, Mark Dootson wrote: > >> Hi, >> >> As Cava Packager has been mentioned on the list a few times I'm dropping a >> note to advise that Cava Packager now supports MacOSX and

Re: Distributing wxPerl applications

2010-12-20 Thread Huub Peters
On Dec 21, 2010, at 3:41 AM, Mark Dootson wrote: > Hi, > > As Cava Packager has been mentioned on the list a few times I'm dropping a > note to advise that Cava Packager now supports MacOSX and Linux in addition > to Windows as promised some time ago. > > A shameless plug perhaps, but it is a

Re: WxWiki.

2010-11-24 Thread Huub Peters
On Nov 24, 2010, at 9:35 AM, Johan Vromans wrote: > Johan Vromans writes: > >> "Eric J. Roode" writes: >> >>> - Move the wiki to another site, and make at least two or three >>> people administrators. >> >> I'm trying to arrange a site. Do we have volunteerd for administrator? > > It seem

Re: WxWiki.

2010-11-18 Thread Huub Peters
Hi, I know a few more ways to contact him and will give it one last try. I'm also the owner of wxperl.info and can host the wiki on my server for free. Also happy to give some people sufficient rights to help administer it and maybe it's wise to set up a mirror too. Let me know if this sounds i

Re: BoxSizer problem

2010-10-13 Thread Huub Peters
, "Wizard Foo", Wx::Bitmap->new( 'images/wizard.bmp', wxBITMAP_TYPE_BMP ) ); # first page my $page1 = Wx::WizardPageSimple->new( $self->{wizard} ); my $page1Sizer = Wx::BoxSizer->new(wxHORIZONTAL); $self->{FooPanel} = FooPanel->new( $page1, -1); $page1Sizer->Add( $self->{FooPanel}, 0, wxEXPAND, 0); $page1->SetSizer($page1Sizer); $page1->SetTitle("Page1"); my $size = $page1Sizer->CalcMin(); $self->{wizard}->SetPageSize( $size ); Hope it helps. Cheers, Huub Peters

Re: to the wxperl wiki administrator

2010-10-05 Thread Huub Peters
Hi Herbert, I forwarded your request to his private email in case he has missed the mails on the list. Hope it helps. Cheers, Huub On Oct 5, 2010, at 11:10 AM, herbert breunung wrote: > hello Sir, > please contact me or make me admin. > I'm deleting neqarly every day a spam message in the wiki

Re: Are these cursor functions wrapped

2010-09-08 Thread Huub Peters
On Sep 7, 2010, at 10:55 PM, Mattia Barbon wrote: > Johan Vromans wrote: >> Does anyone know if these cursor functions are wrapped: >> ::SetSystemCursor (Windoes only?) > > Seems the Win32 API call, not a wxWidgets function. > >> ::wxSetCursor > > Committed. > >> wxCursor::DisableCur

Re: Underlying wxWidgets version?

2010-08-28 Thread Huub Peters
Hi, I always include a printout of this somewhere in my scripts so I see it as soon as I launch it from the shell wxWidgets : $Wx::wxVERSION_STRING wxPerl: $Wx::VERSION Cheers, Huub On Aug 27, 2010, at 10:16 PM, Eric J. Roode wrote: > Hi all, > >How can one tell what version of the un

Re: Unicode problems - euro characters not displaying in widgets - HELP PLEASE

2010-08-04 Thread Huub Peters
It's been a while since I've done stuff in wxPerl but I'm absolutely sure I could display unicode characters without problems. What do you mean exactly when you say unicode? What is the used encoding? UTF-8? Here are some ideas: - Did you test Mattia's suggestion? Unicode and databases are known

Re: Mouse Event coordinates

2009-09-26 Thread Huub Peters
Steve Cookson wrote: Hi Guys, I have a small piece of code which displays a bitmap, then when you click on the bitmap it should draw a circle round the point you clicked. It works OK, except that it always returns (0, 0) as the coordinates of the mouse, where-ever you click. Where am I goi

Re: wxConfig

2009-09-26 Thread Huub Peters
Huub Peters wrote: Steve Cookson wrote: Hi People, Does anyone know where I can find some example wxConfig code? You need to set some values first. These are used to store the config values under. $self->SetAppName('YourAppName'); $self->SetVendorName('YourVen

Re: wxConfig

2009-09-26 Thread Huub Peters
somewhere else in your app: # In case you're in another namspace my $config = Wx::ConfigBase::Get; $config->Read('SomeName1'); $config->Read('SomeUnsetName', 'DefaultValue'); Hope it helps. Cheers, Huub Peters

Re: The wxPerl web site

2009-09-16 Thread Huub Peters
Don't know about wxperl.org but wxperl.eu (Mattia's) and wxperl.info (mine) are. On 16 Sep 2009 14:59:25 +0200, Johan Vromans wrote: > Gabor Szabo writes: > >> I added two entries for the latest release of Wx and Alien::wxWidgets >> and I plan to add some text to each one of them and th

Re: Wx::PaintDC misunderstandings.

2009-09-11 Thread Huub Peters
Steve Cookson wrote: Hi, I'm sure I've just misunderstood something simple about images, but what have I done wrong here: my $loc_image = Wx::Image->new(560,20); my $loc_bmp;# used to hold the bitmap. $loc_bmp=Wx::Bitmap->new( $loc_image ); my $dc = Wx::PaintDC->new($

Re: No such exists ? => wxperl 2.8 for Perl 5.10 on Windows

2009-09-04 Thread Huub Peters
Jacky Jack wrote: Hi I try to compile wxperl on Perl 5. 10 (of both ActivePerl and StrawberryPerl) None of them work. Extensive googling show me: http://www.wxperl.co.uk/repository/ and http://www.wxperl.co.uk/Wx-510.zip They too don't work. How can I make it for coping with 5.10 and for Win

Re: Installing WxPerl on Vista

2009-06-10 Thread Huub Peters
You are trying to install an ancient version on a new system. Get the PPM packages from http://www.wxperl.co.uk/ppm.html or activate the wxPerl repo in the PPM Gui and install it from there. The repo is already there, it's just not using it. Cheers, Huub On Wed, 10 Jun 2009 03:23:47 -0

Re: Popup menu events not generated

2009-04-08 Thread Huub Peters
ewId(); Wx::Event::EVT_MENU( $self, ID_MENU_EXIT, \&OnExit); Wx::Event::EVT_MENU( $self, ID_TRANSFER_QUEUE, \&OnTransferQueue); ...again, this is personal preference :) Hope it helps, Cheers, Huub Peters

Re: Embed Image

2009-04-07 Thread Huub Peters
elf->{panel}, -1, img_checked(), ); # or in an Imagelist: my $img_list = Wx::ImageList->new( 16, 16, 1 ); $img_list->Add( img_checked() ); # or an icon: my $icon = Wx::Icon->new(); $icon->CopyFromBitmap( $img_checked() ); $self->SetIcon($icon); # - Still use this trick myself :-) Cheers, Huub Peters

Re: wxKeyring doesn't run on Mac OSX -- why?

2009-03-02 Thread Huub Peters
uub-peterss-macbook:~ hpeters$ perl -MWx -le'print "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()' On Mac OS X please run scripts with the 'wxPerl' interpreter Wx Version: 0.86 wxWidgets 2.8.8 Cheers, Huub Peters

Re: Wx::BufferedPaintDC

2008-10-29 Thread Huub Peters
Eric Wilhelm wrote: Hi all, I was using Wx::PaintDC->new($panel) and getting lots of flicker, so I saw this Wx::BufferedPaintDC thing and thought that I would be able to just Wx::BufferedPaintDC->new($panel), but that gives me "unable to resolve overloaded method..." This might be a bug (in

Re: Wx::Perl::ProcessStream question

2008-08-30 Thread Huub Peters
nt->Skip(1); my $process = $event->GetProcess; my $line = $event->GetLine; # lots of processing of mpg123 STDOUT output... } sub OnQuitPlayer { my( $self, $event ) = @_; $self->{mpg123process}->WriteProcess( "Q\n" ); } Hope it helps, Cheers, Huub Peters

Wx 0.85 does not install on *ubuntu/debian (against libwxgtk2.8-dev)

2008-08-28 Thread Huub Peters
]: Leaving directory `/root/.cpan/build/Wx-0.85/ext/richtext' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/root/.cpan/build/Wx-0.85/ext' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible If more input is needed please ask... Cheers, Huub Peters

Re: Closing the app from system tray

2008-08-26 Thread Huub Peters
Octavian Rasnita wrote: Hi, I try to close the aplication using the system tray but anything I do, it doesn't seem to work. I put the sample app I've made in this message below. The problem is that when I click on the tray icon, instead of closing the app, it pops up a perl interpreter error

Re: Problem running wxPerl on Mac OS X

2008-08-21 Thread Huub Peters
Pieter Baele wrote: Hi, Leopard ships with Perl 5.8.x, I've compiled Perl 5.10. myself (overwriting /usr/bin/perl) Next I installed Wx (and some other perl modules), and the install succeeded. But when running the demo or a little dialog, something goes wrong. The window starts up nicely

Re: Wx::CheckListBox under Windows

2008-08-18 Thread Huub Peters
Octavian Rasnita wrote: I need to use a Wx::CheckListBox under Windows, but it doesn't seem to work. I've tried: $self->rss_sources(Wx::CheckListBox->new($self, -1, [20, 50], [300, 300])); but it creates just a common Wx::ListBox that doesn't have check boxes. This works for me on all platf

Re: Using Device Contexts

2008-08-07 Thread Huub Peters
Keith Brown wrote: I'm having some trouble adding a window with a drawing control in it to my application. The problem is definitely between my ears; a distinct lack of understanding. Can someone point me to a *clear* example of a simple drawing program? Install Wx::Demo and have a look a

Re: wxPerl wiki

2008-08-02 Thread Huub Peters
Roode, Eric wrote: Huub Peters [mailto:[EMAIL PROTECTED] wrote: Roode, Eric wrote: The wxperl home page at sourceforge mentions a wiki. I could sure use a wiki about now. I'm tearing my hair out trying to learn wxperl. The domain pvoice.org is unfortunately unreachabl

Re: Building Wx-0.84 on Debian

2008-07-31 Thread Huub Peters
David Cantrell wrote: I'm trying to build Wx-0.84 on Debian. It doesn't seem to want to play, and yes, I *have* read the INSTALL.pod, and googled for relevant mailing list posts :-) It's been a while since I build wxPerl on Debian so these are tips from the top of the head. I have wxWidgets

Re: wxPerl wiki

2008-07-31 Thread Huub Peters
Roode, Eric wrote: The wxperl home page at sourceforge mentions a wiki. I could sure use a wiki about now. I'm tearing my hair out trying to learn wxperl. I've tried visiting http://wxperl.pvoice.org/kwiki/ a couple times a day for the past couple of weeks. It is never up. Never! Is that add

Re: Wx::MediaCtrl

2008-07-31 Thread Huub Peters
Octavian Rasnita wrote: Hi, Can Wx::MediaCtrl be used with WxPerl? I can't use Wx::MediaCtrl->new because it says that it is not loaded, and I can't "use Wx::MediaCtrl" because it can't be found. And I couldn't find it using ppm. Thanks. Octavian What platform? - On Windows using the pp

Re: Wx widget for command-linish application?

2008-07-25 Thread Huub Peters
I see add-on modules on CPAN under Wx:: and Wx::Perl::. My guess is that new wrappers to existing wxWidgets go under Wx:: and custom stuff goes under Wx::Perl::. Maybe someone else knows what best practice is? (Mattia?) Cheers, Huub Peters

Re: testing Wx application

2008-07-22 Thread Huub Peters
Gabor Szabo wrote: I am trying to add unit tests that will run the application opening its windows and then send all kinds of events. Reading the testing code in Wx I got to the point where the application runs and I can set a timer to do something later but I could not yet figure out how can I

Re: Running demo.pl (or any other wxPerl app) on OS X 4.11

2008-07-18 Thread Huub Peters
Don Hutton wrote: I've just found the demo.pl file that comes with the OS X developer DVD and the wxWidgets environment that it implies seems to be something that I could really make us of. I have a ton of PERL functionality that I'd really like to port to OS X as more and more of my clients

Re: connecting to STD IN/OUT/ERR of external application

2008-07-17 Thread Huub Peters
Gabor Szabo wrote: So I am trying to write an editor using Wx. The basic editing is in place, now comes the really interesting part. I would like to run the script being edited and provide a way for the user to interact with it. Basicall I'd like to have a console window in my application where

Re: How to change color of Wx::StaticText?

2008-07-10 Thread Huub Peters
from wxWindow you can use almost all Wx::Window methods on them: http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindow Cheers, Huub Peters

Re: documentation, list of widgets?

2008-06-22 Thread Huub Peters
out it any more. wxGlade is a free tool developed in Python with quite an active user base and support on the mailing list. Just my 2 cts, please do compare and pick your own favorite :) Cheers, Huub Peters Peter Gordon wrote: Whether you are writing in C++ or Perl, the best way that I have

Re: TextCtrl problem

2008-05-28 Thread Huub Peters
ead the above line from the docs I'm in doubt if I tried it on a multi-line) Cheers, Huub Peters

Re: Installing wxPerl on Ubuntu 7.10

2008-05-06 Thread Huub Peters
Gabor Szabo wrote: Hi, I have tried to install wxPerl on Ubuntu 7.10 but as far as I could find there is no such Ubuntu package. So I tried CPAN.pm it tried to also install Alien-wxWidgets-0.35 The following questions I answered with an ENTER: Do you want to build wxWidgets? [yes ] Which arch

Re: Gauge + Net::FTP

2008-04-01 Thread Huub Peters
will work on any other platform. >> For the beginning it does not have to show the "amount" of transfered data. >> May it does show a "movement" to indocate the transfer is still running. The example also includes some progress calculations IIRC. Hope it helps, Cheers, Huub Peters

Re: Problems with EVT_NOTEBOOK_PAGE_CHANGED

2008-02-13 Thread Huub Peters
Untested code but I think it's more like this: EVT_NOTEBOOK_PAGE_CHANGED($self, $notebook, sub { $panel_spokes->{CheckBox}{"akt_checkbox"} -> SetValue(0); $self->{TIMER} -> Stop; }); Cheers, Huub - Original Message - From: "Daniel" <[

Re: temporary files

2007-11-19 Thread Huub Peters
orth a try: EVT_CLOSE($self, \&OnClose ); sub OnClose { my( $self, $event ) = @_; $self->Destroy(); Wx::wxTheApp()->ExitMainLoop; } Please let us know if it makes any difference. Cheers, Huub Peters

Re: Dialog

2007-11-18 Thread Huub Peters
pretty sure if you put a panel in there (as in a frame/panel) tabbing works just fine. Regards, Huub Peters

Re: PerlApp, rmtree failed because directory not empty

2007-11-14 Thread Huub Peters
it" or closing the last window is something like this: sub OnExit { my( $self, $event ) = @_; $self->Destroy(); Wx::wxTheApp()->ExitMainLoop; } Cheers, Huub Peters - Original Message - From: "Mark Swayne" <[EMAIL PROTECTED]> To: "Mark Dootson"

Re: OpenGL (GLCanvas) [WxPerl]

2007-10-28 Thread Huub Peters
Yep, Mattia stopped making PPM's a long time ago, I think because compiling got so much easier with Alien::... Alltough recently I saw a mail of him thinking about creating binaries again. Anyway, the place to get your up to date PPM's is, and has been for quite a while: http://www.wxperl.co.u

Re: Bitmap buttons... loading an image from a file...

2007-10-17 Thread Huub Peters
) } split /\n/, $img ]; my $xpm = Wx::Bitmap->newFromXPM( $data ); return $xpm; } 1; ** Images.pm ** *** # # Usage as bitmap: $self->{bitmap_1} = Wx::StaticBitmap->new( $self, -1, (Images::img_url()), wxDefaultPosition, wxDefaultSize, ); ###

Re: wxPerl RPMs for Centos on Dag Repository

2007-08-17 Thread Huub Peters
myself has given me to many hurdles I have no knowledge of. Could someone help me with a RPM? It doesn't matter if it's one big one or seperate ones for wxWidgets and wxPerl. Even only one of those might be helpfull to get me going. Anybody? Regards, Huub Peters For CentOS/RHEL/Fedora

RPM for Centos

2007-08-14 Thread Huub Peters
with a RPM? It doesn't matter if it's one big one or seperate ones for wxWidgets and wxPerl. Even only one of those might be helpfull to get me going. Anybody? Regards, Huub Peters

Re: Pre-release binaries for wxPerl 0.76

2007-07-22 Thread Huub Peters
OS X binaries are working ok. Even better than the previous CPAN releases which caused a segfault on close in one of my projects. Glad I won't have to hunt that down anymore :) And even happier I can skip compiling myself for a while... Thanks for all your efforts... Huub Peters (if

Re: Graphics, OpenGL, DirectDraw, etc...

2007-07-05 Thread Huub Peters
ctionality of Image::Magick" but like you said, IM is pretty hefty. Apart from that, ImageMagick and PDK haven't work well together in the past and the last time I tried was still problematic. I have had very good results with Imager (also on CPAN or PPM) but it all depends on what you want to do. Imager packs well with PDK 3) I'd REALLY like to be able to do some real-time OpenGL 3D stuff. Totally lost on how. No help here. Did you see Wx::GLCanvas on the wxPerl site? Kind regards, Huub Peters