wxperl newbie Mac install

2009-11-02 Thread perltk
Hi All, Mostly a linux perl tk guy, but would like to try wxperl out since I my wife's school only has Macs and perlTk on Mac isn't pretty. Anyway, just need to get through the install for now and not sure how to proceed. Alien::WxWidgets crashed , but I've got a successful wxwidgets build

Re: wxperl newbie Mac install

2009-11-02 Thread perltk
Or where can I find some instructions ? Thanks. perltk wrote: Hi All, Mostly a linux perl tk guy, but would like to try wxperl out since I my wife's school only has Macs and perlTk on Mac isn't pretty. Anyway, just need to get through the install for now and not sure how to proceed. Alien

Install directions broken ??

2009-11-03 Thread perltk
WX_CONFIG env var does not appear to work as stated in README:-( Only on PATH works. perltk wrote: Or where can I find some instructions ? Thanks. perltk wrote: Hi All, Mostly a linux perl tk guy, but would like to try wxperl out since I my wife's school only has Macs and perlTk on Mac

Wxperl on mac question again

2009-12-02 Thread perltk
Can wxPerl be made work with par/wxpar on a mac ? Pretty please? ;-) Thanks. Jeff

Re: Wxperl on mac question again

2009-12-02 Thread perltk
, Dec 2, 2009 at 7:35 AM, perltk per...@maine.rr.com mailto:per...@maine.rr.com wrote: Can wxPerl be made work with par/wxpar on a mac ? Pretty please? ;-) Thanks. Jeff

Re: Building Alien::wxWidgets - where is wx-config

2009-12-07 Thread perltk
PS I built on Linux Mac - did the Wxwidgets seperately - didn't let Alien do it. - easier control.Once you build it and find the wx-config it makes - add it to your $PATH and Alien will find it and not want to download and build itself. Gabor Szabo wrote: In my quest to build a

Re: Building Alien::wxWidgets - where is wx-config

2009-12-07 Thread perltk
Will Wxperl work with a static build ? For stand-alones on linux I have had success with both PAR Perlapp using .so files Gabor Szabo wrote: I tried to buld wxWidgets with these flags ./configure --with-gtk --disable-shared --enable-unicode and got this error in the make phase:

Perlapp Wxperl seg fault

2010-03-13 Thread perltk
Hi there, Just discovered yhe wxperl binary oasis - great idea ! Looking forward to build some GUIs so I hope I can get some help. So decide to try it. Straight forward, out-of-the-box install of Activesate 5.10, Wxperl from wxperl.co.uk and Perlapp 8.2.1 Tried out packtest.pl - modified

Re: Perlapp Wxperl seg fault

2010-03-13 Thread perltk
. Is this the wrong approach ? Comments appreciated ! By the way, been a while since I tried this. Is there still a problem on the Mac with wxperl creating its own executable that can't be picked up by perlapp ( wasn't it just called 'wxperl' in the bin directory ? ) perltk wrote: Hi there, Just

Re: Perlapp Wxperl seg fault

2010-03-13 Thread perltk
- but you'll have to read the Wx::Perl::Packager POD as a few actions are necessary. Regards Mark On 13/03/2010 16:27, perltk wrote: Got it working. (Still get seg fault on exit.) I had created soft links to so.0 files - seemed neccessary for the first 3 libraries to get picked up. Anyway

XRC resource 'mainmenu' (class 'wxMenuBar') not found

2010-03-22 Thread perltk
Learning about XRC just now. Things are going well except for getting a handle on the menu. I have a class 'wxMenuBar' name 'mainmenu' in my xrc. I don't actually call -LoadMenuBar('mainmenu'), but the callback assignements to the menuitems work fine. I'd like to use checked menu items,

Re: XRC resource 'mainmenu' (class 'wxMenuBar') not found

2010-03-23 Thread perltk
$frame-GetMenuBar;:-) Although, It would be great if someone could please post a simple, but COMPLETE, app thats used all ( at least most ) xrc options ( minus the xml code of course ). Most everything out there is either a fragemnt or bare-bones. Thanks. Jeff perltk wrote: Learning

wxperl + perlapp + xrc

2010-03-25 Thread perltk
Running Linux with latest everything. Wxperl working great with xrc. Trying to build standalone with latest perlapp. Binding all the required libraries. Seems to work fine with straight relatively simplewxperl code , but when I try using a xrc file always get immediate seg fault running

Re: wxperl + perlapp + xrc

2010-03-26 Thread perltk
. Mark On 25/03/2010 14:31, perltk wrote: Running Linux with latest everything. Wxperl working great with xrc. Trying to build standalone with latest perlapp. Binding all the required libraries. Seems to work fine with straight relatively simplewxperl code , but when I try using a xrc file

Re: wxperl + perlapp + xrc

2010-03-27 Thread perltk
Mark. Thanks for taking the time to help. Installed new 0.24 and followed all your suggestions - no luck. Made sure by specifying version in use. Still seg fault at start. :-( Mark Dootson wrote: Hi, The segmentation fault was cause by a bug in Wx::Perl::Packager (trying to load 'adv' from

Re: wxperl + perlapp + xrc

2010-03-27 Thread perltk
perlapp --bind libwx_baseu-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu-2.8.so.0,extract,mode=755] --bind libwx_gtk2u_adv-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_gtk2u_adv-2.8.so.0,extract,mode=755] --bind

Re: wxperl + perlapp + xrc

2010-03-28 Thread perltk
Attached the code as well. perltk wrote: Sorry to be a pest. No luck. Still seg fault. New setup: perlapp --bind libwx_baseu-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu-2.8.so.0,extract,mode=755] --bind libwx_gtk2u_adv-2.8.so.0[file=../perl510/site/lib

Re: wxperl + perlapp + xrc

2010-03-28 Thread perltk
Well, I feel foolish ;-) I should have noticed that. It executed fine . Thanks again , Mark. Jeff Mark Dootson wrote: Hi On 28/03/2010 18:37, perltk wrote: Attached the code as well. perltk wrote: Sorry to be a pest. No luck. Still seg fault. No problem. Your error is in the binding

Top level panels/frames method

2010-06-21 Thread perltk
How can I get a reference to any toplevel dialog or frame. I'm sure this is really simple but not stumbling over it. Something like '-gettoplevel' or similiar ???

Re: WxPerl best practices and TKizing

2010-07-15 Thread perltk
generating all the callbacks as stubs and putting references to them in a hash is favorite of mine ) Tried WxGlade - its OK, but Julian Smart's Dialogblocks is much more complete and intuitive. The extra step to generate the wxperl is good for you anyway ;-) We're old timer perltk here, so

Re: WxPerl best practices and TKizing

2010-07-15 Thread perltk
PS - I agree with Herbert , for a serious interface XRC is a handicap in the long run. By the way, Dialogblocks turns out some nice XRC as well. On 7/15/2010 6:00 AM, perltk wrote: FYI - This is tangential, but I have used Dialogblocks to generate C code. The C code is close enough that I

Re: WxPerl best practices and TKizing

2010-07-15 Thread perltk
I stand corrected. *I* say XRC is a handicap for a complex interface. :-) On 7/15/2010 6:52 AM, herbert breunung wrote: Am 15.07.2010 12:04, schrieb perltk: PS - I agree with Herbert , for a serious interface XRC is a handicap in the long run. By the way, Dialogblocks turns out some nice

Listbox strange behavior

2010-07-19 Thread perltk
I'm subclassing the listbox and now whenever the listbox subclass is first instantiated the first - and only the first click fire the event twice. The first event fires and the call back executes the GetSelections method which always returns the 0 index in the listbox regardless of which

Printdialog example request

2010-07-19 Thread perltk
Could someone post a simple example of printdialog ? I keep getting the following error: my $dialog=Wx::PrintDialog-new($this); if(wxID_OK==$dialog-ShowModal()){ } (uwi_flip.pl:4316): Gtk-CRITICAL **: gtk_window_fullscreen: assertion `GTK_IS_WINDOW (window)' failed

Re: Listbox strange behavior - Example

2010-07-20 Thread perltk
; # ### my( $app ) = MyApp-new(); $app-MainLoop(); __END__ On 7/19/2010 10:43 PM, perltk wrote: I'm subclassing the listbox and now whenever the listbox subclass is first instantiated the first - and only the first click fire the event twice. The first event fires

Re: Listbox strange behavior - BROKEN wxlistbox ?

2010-07-20 Thread perltk
:\n; print 1: . join (', ', $listbox1-GetSelections()) . \n; print 2: . join (', ', $listbox2-GetSelections()) . \n; } package main; my $app = ListBoxSelection-new; $app-MainLoop; --- cut here - On 7/20/2010 6:09 AM, perltk wrote: Heres a very simple example

wxlistbox Broken

2010-07-21 Thread perltk
So has anyone else seen this ? Is there a work around ? On 7/20/2010 7:47 AM, perltk wrote: Is wxlistbox broken on Linux for wxLB_SINGLE ? If I change wxLB_SINGLE to wxLB_EXTENDED works fine. Tried the same experiment on a example code from web and it breaks that code as well

wxlistbox Broken

2010-07-22 Thread perltk
Hi Mattia, Do you know anything about this? Original Message Subject:wxlistbox Broken Date: Wed, 21 Jul 2010 07:11:40 -0400 From: perltk per...@maine.rr.com To: wxperl-users@perl.org So has anyone else seen this ? Is there a work around ? On 7/20/2010 7:47

Printdialog on linux not functional.

2010-07-30 Thread perltk
It appears the printdialog and pagesetup dialogs are not fucntional on linux in gtk. Not surprising really, but would someone confirm so I don't spend anymore time on it. Thanks. Jeff

Re: AW: Distributing wxPerl applications - Perlapp

2010-08-03 Thread perltk
machine. -- Octavian - Original Message - From: perltk per...@maine.rr.com To: wxperl-users@perl.org Sent: Tuesday, August 03, 2010 2:44 PM Subject: Re: AW: Distributing wxPerl applications - Perlapp The point of perlapp is that you don't even need perl installed on machines where app

Re: Unicode problems - euro characters not displaying in widgets ???

2010-08-04 Thread perltk
the widgets to On 8/4/2010 8:16 AM, Mattia Barbon wrote: perltk wrote: I have an app that is reading from a database. Some of the names include unicode characters: Heres are some print statement output when running app: perl uwi_flip.pl Well == HENW_Letebr?nner perl -C uwi_flip.pl

Re: Unicode problems - euro characters not displaying in widgets ???

2010-08-04 Thread perltk
Could the choice on font effect this ? Also I don't understand why I get blanks instead of the string with errors like it appears in the print out : HENW_Letebr?nner On 8/4/2010 12:39 PM, perltk wrote: perl uwi_flip.pl Well == HENW_Letebr?nner perl -C uwi_flip.pl Well

Re: How to access a Wx::App object property in a Wx::Frame

2010-08-04 Thread perltk
I think I've used Wx::GetTopLevelParent() On 8/4/2010 12:46 PM, Octavian Rasnita wrote: Hello, Please tell me how can I access the properties of the Wx::App object in the subroutine which initializes that object. Is it absolutely necessary to use global variables? (Because I couldn't find

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

2010-08-04 Thread perltk
Has anyone got any ideas? Unfortunately, this isn't an inconvience for us - this is a show stopper. Trying to move off perltk and the new Guis are looking good, but if we can not display unicode characters wxperl is dead for us :-( On 8/4/2010 8:16 AM, Mattia Barbon wrote: perltk wrote

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

2010-08-04 Thread perltk
ditch wxPerl yet. It really is a powerful versatile toolset. Cheers, Huub On Aug 4, 2010, at 9:53 PM, perltk wrote: Has anyone got any ideas? Unfortunately, this isn't an inconvience for us - this is a show stopper. Trying to move off perltk and the new Guis are looking good, but if we

Re: Unicode problems - A step in the right direction - A bit more Help please

2010-08-04 Thread perltk
most definitely be a culprit. Lots of (older) fonts can't display characters beyond the ascii or latin-1 set. Don't ditch wxPerl yet. It really is a powerful versatile toolset. Cheers, Huub On Aug 4, 2010, at 9:53 PM, perltk wrote: Has anyone got any ideas? Unfortunately, this isn't

Re: Unicode problems - A step in the right direction - A bit more Help please

2010-08-05 Thread perltk
they interact. Will post what I find or don't find. Again, thanks ! On 8/5/2010 5:48 AM, Mattia Barbon wrote: perltk wrote:UTF- Hi, Then I read the file and put in textctrl listbox and it looked good. Also print to STDOUT correctly - AND I did NOT have to use the 'perl -C' or :utf8

Re: List of wxPerl applications

2010-08-07 Thread perltk
No its a proposal to rapidly and easily get example code onto either the wiki or website. On 8/7/2010 4:33 PM, Johan Vromans wrote: perltkper...@maine.rr.com writes: I have thought a bit about this and.heres my proposal: --

How can I create a please wait popup

2010-09-10 Thread perltk
I'm trying create a please wait popup while the app is busy. I want a custom popup so the Busyinfo isn't what I want. Unfortunately, when I use a wxdialog with a panel and label ( statictext ) the text does not get painted until the app is no longer busy, so it sort of defeats the purpose.

Re: Distributing wxPerl applications

2010-12-21 Thread perltk
What is the Cava list address ? On 12/20/2010 9:41 PM, 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

Window Manager delete WM_WINDOW_DELETE

2011-01-14 Thread perltk
termination ( takes a second or two ), but does no stop the delete. perlTk has a special function something like this: $TOP-protocol(WM_WINDOW_DELETE = sub {...}); Anything similiar in Wxper//WxWidgets ? Thanks Jeff