Re: XRC example

2007-07-25 Thread Eric Wilhelm
# from Ed W # on Wednesday 25 July 2007 03:21 am: Does anyone have some good XS examples please?   I think you mean XRC. I am looking to use DialogBlocks as a nice GUI for knocking up some dialogs, but I still not sure that I understand the process to wire everything up (without using more

Re: threads

2007-12-17 Thread Eric Wilhelm
# from Foo JH # on Monday 17 December 2007 19:11: I've asked this question before, and the collective wisdom in the wxPerl community is steering towards the use of POE instead. You may want to consider that. I looked at that approach in dotReader and concluded that the Wx::POE was using a

Re: MultiTask::Manager

2007-12-18 Thread Eric Wilhelm
# from Octavian Rasnita # on Tuesday 18 December 2007 12:00: But MultiTask::Manager also requires Module::Finder. No. It doesn't. Again, that's the dotReader tarball. If you type `cpan MultiTask::Manager` on windows it won't be any fun at all. # $got-[0] =

summer of wxPerl - project manager, ideas, and mentors wanted

2008-03-01 Thread Eric Wilhelm
Hi all, Is anybody interested in mentoring students who are want to submit wxPerl-related/using proposals for Google's Summer of Code? If there is sufficient demand, I would also like a volunteer to manage the wxPerl neck of the woods.

Re: Hello - SoC idea - CPAN GUI

2008-03-18 Thread Eric Wilhelm
# from Luis Araujo # on Monday 17 March 2008 23:46: It's good to see the Perl foundation participating on GSoC this year. I was glancing over the ideas page, and I am very interested on the idea of developing a GUI for CPAN/CPANPLUS. I don't see any mentor listed, so I wanted to ask you who

Re: Hello - SoC idea - CPAN GUI

2008-03-19 Thread Eric Wilhelm
# from Eriam Schaffter # on Wednesday 19 March 2008 00:57: I also would like to know what Eric had in mind when talking about Catalyst back-end. I didn't write that part of the idea. I think catalyst has some kind of Wx tie-in, but I'm not exactly sure what it means (I would have to ask the

Re: PAR

2008-03-20 Thread Eric Wilhelm
# from Steffen Mueller # on Wednesday 19 March 2008 15:49: You cannot create .par's with binary (i.e. XS module or dll) components under one architecture and have it run under another. Somebody spent some time working on this (Eric, I think?), but it's hard. Well, my bent was trying to automate

Re: How to start with wxperl and wxwidgets?

2008-04-08 Thread Eric Wilhelm
# from Waldemar Biernacki # on Tuesday 08 April 2008 02:16: It seems that wxperl documentation is poor and they say I should use wxwidgets documentation instead. The wxPerl documentation doesn't exist because it would be mostly redundant to the C++ documentation. Once you figure out what all

Re: Fixing Alien::wxWidgets to not hardcode the compiler

2008-04-10 Thread Eric Wilhelm
# from Roberto C. Sánchez # on Wednesday 09 April 2008 19:40: I am not an expert on g++ ABI, however I would like to do what I can to help. Is the ABI compatibility just determined by the m/^(\d+)\./ portion of the version number or does it have to be more complicated than that? --Eric --

Re: How to organize project

2008-04-21 Thread Eric Wilhelm
Hi Joe, # from Joe Claborn # on Monday 21 April 2008 10:18: For various reasons - we are starting on a project to convert a 60,000 line QTPerl program to wxPerl.  My question is  how to organize the UI so that we can keep a clean separation between the UI and the code that manages the

Re: Frame and wxNO_BORDER option

2008-04-24 Thread Eric Wilhelm
# from Waldemar Biernacki # on Wednesday 23 April 2008 22:49: I've been looking through the documantation and missed the style option wxNO_BORDER of the Frame objects. It gets me no decoration window. I have found it accidentally. Is anybody able to direct me to the wxwidgets documentation,

Re: Installing wxPerl on Ubuntu 7.10

2008-05-06 Thread Eric Wilhelm
# from Gabor Szabo # on Tuesday 06 May 2008: Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 95. What do you get for `wx-config --cxxflags`? Perhaps you need to also install the '...-dev' package. --Eric -- Insert random misquote here

Re: Changing Toolbar Icons?

2008-06-22 Thread Eric Wilhelm
# from Skaman Sam Tyler # on Saturday 21 June 2008 20:51: 5 my $item=$tb-FindById($id); #works. 6 $item=$tb-FindControl($id);#DOES NOT WORK! returns undef IIUC, a control is not a tool, so one of these two will always return undef for any given id. Can't locate object method

Re: documentation, list of widgets?

2008-06-22 Thread Eric Wilhelm
# from Gabor Szabo # on Sunday 22 June 2008 08:07: So I wonder what is the experience of people using Wx. Especially in Perl? So far DialogBlocks and wxGlade were mentioned. I know it is hard to tell, but do people on the list tend to use those or do they tend to create the application using

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

2008-07-18 Thread Eric Wilhelm
# from Huub Peters # on Friday 18 July 2008 00:07: When you install it yourself you get the wxperl interpreter which you already mentioned. And (IIRC) this is really nothing more than a perl interpreter sitting inside an appbundle. after launching the GUI does not get the focus. To accept GUI

Re: IPC with WxPerl

2008-08-26 Thread Eric Wilhelm
# from Ovod-Everett, Toby # on Tuesday 26 August 2008 15:14: I think I would need to send a certain signal to that process using kill() and handle that signal using $SIG{} One approach you might investigate if you're running under Win32 is using mutexes - see Win32::Mutex. Well, $SIG{USR1}

Re: libwx_gtk2_html-2.8.so.0: cannot open shared object file: No such file or directory

2008-08-29 Thread Eric Wilhelm
# from Gabor Szabo # on Thursday 28 August 2008 07:22: but I though I included all 3: using this script: http://svn.perlide.org/padre/trunk/create_exe Here's a snippet from the dotReader build file that I was using to package that par. my @wxlibs; ... if(eval { require

wxcat - a gui pipe

2008-08-30 Thread Eric Wilhelm
Hi all, I just uploaded wxcat to CPAN. It's a silly little program to echo stdin into a passive gui window (that doesn't steal keyboard focus.) cpan bin::wxcat I've been using it to debug some asynchronous output, but you can use it however you like. ssh webserver tail -f error.log |

GLCanvas not double-buffered?

2008-10-25 Thread Eric Wilhelm
Hi all, I'm not sure where the difference is here between my desktop (debian etch running xinerama on 2 nvidia cards) and laptop (debian lenny running etch on a radeon card), but somehow Wx::GLCanvas doesn't come out double-buffered by default on my desktop. These are all the same on both

Wx::BufferedPaintDC

2008-10-29 Thread Eric Wilhelm
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 the documentation?), but

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

2009-03-08 Thread Eric Wilhelm
# from Mattia Barbon # on Sunday 08 March 2009 03:28:    AFAIK it is an unsolvable problem: on OS X either you use a bundle (and the wxPerl executable internally uses one) or you don't get focus. There is no way around that. s/or you don't get focus/or you don't get input events/ But you can

Re: memory leak in menu creation and destroying

2009-03-09 Thread Eric Wilhelm
# from Gabor Szabo # on Monday 09 March 2009 05:12: If I run it as it is it leaks about 20-30 bytes per run. If I enabled the event generation code as well which is currently commented out then with each run the RES memory will grow by ~ 600 bytes.   $file-Destroy( $e ); What if you

Re: eval {} in events

2009-03-10 Thread Eric Wilhelm
# from Gabor Szabo # on Monday 09 March 2009 23:19: I use a $SIG{__DIE__} as a catch-all with a dialog box.  The trouble with doing eval only at the menu-click time is that any sort of persistent objects can still crash you when their are events are handled. Interesting but how do you let

Re: Perlwrapper

2009-06-09 Thread Eric Wilhelm
# from Mike Schroeder # on Tuesday 09 June 2009 06:48: It's a shell script - it will build a .app and put it into a dmg for distribution, allowing for drag and drop installation. A side note on dmg: I found that users would try to run the app directly from the read-only disk image (which would

Re: cannot get opengl working

2009-06-16 Thread Eric Wilhelm
# from Wim de Vries # on Tuesday 16 June 2009 04:36: Tried to install Wx-GLCanvas (shouldn't that not be doneautomatically with wxPerl installation?) and that one gives me No such 'link' library: 'gl' You need the libGL.so (`aptitude install libgl1-mesa-dev` and maybe some other packages

Re: Documentation?

2009-08-01 Thread Eric Wilhelm
# from Johan Vromans # on Saturday 01 August 2009 00:56: This is exactly what I meant when I wrote earlier:    a) improve the documentation on how the Wx API docs can (should,       must) be used for wxPerl; In wxPerl::Constructors, I generate a pod of all of the constructor prototypes with

Re: drag and drop or just moving around images

2009-08-25 Thread Eric Wilhelm
# from Gabor Szabo # on Tuesday 25 August 2009 09:16: I am playing with an idea for which I need to be able to have a canvas and move around images either by the mouse (drag-and-drop) or on their own. I could not find an example in the Wx::Demo. The demo has drag-n-drop for images, but you

Re: The wxPerl web site

2009-09-25 Thread Eric Wilhelm
# from Gabor Szabo # on Thursday 24 September 2009 22:50: Is there such a howto besides what we have in http://padre.perlide.org/trac/wiki/Download I'm curious about why that says to run `wxPerl -MCPAN -e shell` when you're going to be replacing wxPerl completely? (It also caused some

Re: Snow Leopard

2009-10-16 Thread Eric Wilhelm
# from Mattia Barbon # on Thursday 15 October 2009 11:36: This Perl is compiled as a 64 bit binary. Stable wxWidgets versions can only be compiled as 32 bit libraries. In order to build wxPerl you will need to either recompile Perl as a 32 bit binary or (if using the Apple-provided Perl) force

Re: Adding POD to Wx classes

2009-11-15 Thread Eric Wilhelm
# from Gabor Szabo # on Sunday 15 November 2009 04:22: Alien::wxWidgets could build those pages as the source is downloaded anyway I like the idea of Alien::wxWidgets building the pages, but that might mean that it has more build dependencies *and* it would not be browsable on

Re: Wx in a web application

2009-12-02 Thread Eric Wilhelm
# from Waldemar Biernacki # on Monday 30 November 2009 08:23: My idea is to build specific very-high-level language in which all application logic is written. This language should be reading by GUI and WEB engines giving similar application. It is interesting that in web area we have many such

Re: Alternative event handling

2010-06-15 Thread Eric Wilhelm
# from Mattia Barbon # on Sunday 13 June 2010 01:28:             subscribe( $sender, 'SignalName', $object, 'MethodName' );             subscribe( $sender, 'SignalName', \_function ); Could this be a method? $sender-subscribe(SignalName = $object, 'MethodName'); $sender-subscribe(SignalName