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

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 proc

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 o

wxpar on mac not working correctly

2009-11-30 Thread perltk
Must be missing something. wxpar generates an executable on Mac that does NOT use wxPerl interpreter. The app launches but accepts no input - just like launching with regular perl. What is wxPerl doing under the hood and any ideas how to get wxpar to work with wxPerl ?? Using my own 32 bit

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
<mailto:m...@donor.com> On Wed, Dec 2, 2009 at 7:35 AM, perltk <mailto:per...@maine.rr.com>> wrote: 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
gets asked often enough that it would be great to have this as a re-usable abstracted script. Between you, Paul, Ed and me, we should be able to get that done right? :) HTH, mike. mike schroeder email: m...@donor.com <mailto:m...@donor.com> On Wed, Dec 2, 2009 at 8:02 AM,

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

2009-12-07 Thread perltk
Not sure where it starts life - I've moved everything around once I got the libs compiled from Wxwidgets. Wxwidgets creates wx-config during compilation. Do a "find" once you compile Wxwidgets successfully - its there! Make sure its in your $PATH and its executable. It tells Alien::wxWidge

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 stand-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: home/sz

Re: Loading, binary distributions and packagers

2010-01-29 Thread perltk
Much appreciated :-) Mark Dootson wrote: Hi, I'd like to propose the attached patch. Its purpose is to make it simpler for packaging applications to work and to allow creation of binary distributions of wxWidgets dlls for Wx. The patch is mainly pod - which explains how it would be used.

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 noth

Re: Perlapp Wxperl seg fault

2010-03-13 Thread perltk
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 ? ) p

Re: Perlapp Wxperl seg fault

2010-03-13 Thread perltk
as described in Wx::Perl::Packager POD. All should work. On MacOSX you should find everything works fine - 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.

Re: Perlapp Wxperl seg fault

2010-03-13 Thread perltk
OK Working again - should not have renamed :-/ perltk wrote: Mark New error :-) Any ideas ? Reinstalled everything and renamed all so.0 to .so Fatal Error: Mismatch between the program and library build versions detected. The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002

Re: Perlapp Wxperl seg fault

2010-03-13 Thread perltk
Ok all is well on Linux :-) Now on to Mac.. (Looking for a cross platform standalone solution ) Thanks again Mark. Jeff Mark Dootson wrote: Hi, Don't rename anything. Bind the wx dlls that come with the PPM. Bind Wx.so as wxmain.so On 14/03/2010 00:46, perltk wrote: Mark

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, bu

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 wr

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 afte

Re: wxperl + perlapp + xrc

2010-03-26 Thread perltk
ly available to test. 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

Re: wxperl + perlapp + xrc

2010-03-26 Thread perltk
fails, I'll take a look. I've never used xrc so have not got anything readily available to test. 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 libra

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 "libwx_gtk2u_c

Re: wxperl + perlapp + xrc

2010-03-28 Thread perltk
--bind "libwx_baseu_xml-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_baseu_xml-2.8.so.0,extract,mode=755]" --bind "libwx_gtk2u_html-2.8.so.0[file=../perl510/site/lib/Alien/wxWidgets/gtk_2_8_10_uni/lib/libwx_gtk2u_html-2.8.so.0,extract,mode=755]&quo

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=

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

Re: Getting data into wxPrintPreview

2010-04-02 Thread perltk
Steve, I'm just stepping into this myself. Only as far as displaying some rudimentry psuedo-rtf in the wxrichtextctrl widget. I tracked down what I believe is the C code you are referring to : http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/src/richtext/richtextprint.cpp?revision=61724&v

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 he

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 ite

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
### # ### ### # package main; # ### my( $app ) = MyApp->new(); $app->MainLoop(); __END__ On

Re: Listbox strange behavior - BROKEN wxlistbox ?

2010-07-20 Thread perltk
; map { $listbox1->Deselect($_); } [0, 1, 2, 3, 4]; $listbox2->SetSelection(wxNOT_FOUND); foreach my $choice (@choices) { $listbox1->Select($choice); $listbox2->Select($choice); } print "status-out :\n"; print "1: " . jo

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. : This

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 To: wxperl-users@perl.org So has anyone else seen this ? Is there a work around ? On 7/20/2010 7:47 AM, perltk wrote

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: I need explain on Wx handlers

2010-07-30 Thread perltk
Think you need a sizer to get radiobutton to show The sequence I follow that works for me notebook(whatever) panel(notebook) panel sizer addpage(panel) everything_else(panel)... ... panel(notebook) panel sizer addpage(panel) everything_else(panel)... ... etc. Jeff On 7/29/2010 10:03

Re: Distributing wxPerl applications

2010-08-02 Thread perltk
Yes, from my personal use/experimenting. Theres Perlapp or PAR or make an '.app" on OSX. The trick is including & using the wx binary libs you pacakge up. But it isn't going to be write once , run everywhere. On 8/1/2010 3:52 PM, Daniel Carrera wrote: Hello, Is it difficult to package and d

Re: AW: Distributing wxPerl applications - Perlapp

2010-08-03 Thread perltk
The point of perlapp is that you don't even need perl installed on machines where app runs. So you can have a different verison(s) of perl installed and the standalone will completely ignore them. Like PAR, it builds its own distro in a temp directory and the search path is set to that. You

Re: AW: Distributing wxPerl applications

2010-08-03 Thread perltk
Activestate is a for profit company. They can't sell perl but they can sell support, especially corporate support. Take a look at their services. It makes a lot of sense for them to have their tools only work on the distribution they put together if they want to efficiently support it. My

Re: AW: Distributing wxPerl applications - Perlapp

2010-08-03 Thread perltk
the target machine. -- Octavian - Original Message ----- From: "perltk" To: 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 runs. So

Re: Printdialog on linux not functional.

2010-08-03 Thread perltk
ld be appreciated. On 8/3/2010 3:48 PM, Steve Cookson wrote: Hi, They work for me too, I'm Kubuntu Karmic. Regards Steve -Original Message----- From: perltk [mailto:per...@maine.rr.com] Sent: 30 July 2010 07:42 To: wxperl-users@perl.org Subject: Printdialog on linux not funct

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

2010-08-04 Thread perltk
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 Well ==> HENW_Letebrønner Any names wi

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

2010-08-04 Thread perltk
indeed unicode. I don't mind forcing 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.p

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_fl

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

2010-08-04 Thread perltk
t; $_\n"; } $this->{listbox}->Insert($_,$count); $count++; } 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

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 a

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

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

2010-08-04 Thread perltk
s 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 an inconvience for us - this is a show stop

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

2010-08-04 Thread perltk
UTF-8 encoded ( maybe even create it with something like open(my $fh, ">:encoding(UTF-8)", "test.txt") - As you mentioned in another reply, font can most definitely be a culprit. Lots of (older) fonts can't display characters beyond the ascii or latin-1 set. Don

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

2010-08-05 Thread perltk
out how 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 '

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: perltk writes: I have thought a bit about this and.heres my proposal: -- What would

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. T

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 perhap

Window Manager delete WM_WINDOW_DELETE

2011-01-14 Thread perltk
r and eventual 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

Scrolbar control

2011-04-01 Thread perltk
Does anyone have a method to coordinate 2 scrollbars so that they move in unison? I have 2 listctrl widgets where I'd like the horizontal scrollbar to track each other. This is in wxGTK and it appears all the scroll events are not functioning, at least not with listctrl. Wx::Event::EVT_SCROL