Re: How to work with BoxSizer and ScrolledWindow?

2011-01-27 Thread jeff
One thing to do is change the proportion to 1 on the add so the widget can grow and shrink: $tsz->Add($sw, 1, wxALIGN_CENTER | wxALL|wxEXPAND, 10); You'll then see you list of widgets. Jeff On Thu, 2011-01-27 at 14:24 +0800, Robin Lee wrote: > Hi, all. I am a new learner of wxPerl.

Re: Packaging

2011-02-14 Thread jeff
We're currently looking to package 90+ apps into a distribution. We're testing Cava and its looking pretty good so far. Jeff On Mon, 2011-02-14 at 23:43 +0100, Johan Vromans wrote: > Currently, I know of three packagers that can handle wxPerl > applications: Cava, PAR and PerlApp

Re: Packaging

2011-02-14 Thread jeff
Mark Could you elaborate: "But it does have functions that will translate your 'perl' time calls to execute scripts into 'packaged' time calls to run executables." What do you mean by 'time calls'? Jeff On Mon, 2011-02-14 at 22:51 +, Mark Dootson w

Packaging GTK themes with Wxperl

2011-02-17 Thread jeff
ctual packaging should then be fairly simple - not worried about that. Any ideas? Thanks. Jeff

Re: Packaging GTK themes with Wxperl

2011-02-18 Thread jeff
In case anyone else needs it, Believe its a simple as this: setenv GTK2_RC_FILES "/home/jeff/.roqc/share/themes/Clearlooks/gtk-2.0/gtkrc" setenv GTK_PATH "/home/jeff/.roqc/lib/gtk-2.0" where /home/jeff/.roq

Re: WELCOME to wxperl-users@perl.org

2011-02-28 Thread jeff
Something like this: ### package wxtimer; use strict; use Wx qw/:everything/; use base 'Wx::Timer'; sub new { my $class = shift; my %args=@_; my $parent=delete $args{parent}; my ($parent_id, $type)=find_parent->new($parent);

Re: Forcing a Look 'n' Feel

2011-04-11 Thread jeff
- it blows Activestate away. Jeff On Mon, 2011-04-11 at 06:12 -0400, Hal Vaughan wrote: > On Apr 11, 2011, at 5:53 AM, Mark Dootson wrote: > > > Hi, > > > > On 11/04/2011 09:44, Hal Vaughan wrote: > >> I have an unusual situation where I'm going to be runn

Re: Forcing a Look 'n' Feel

2011-04-11 Thread jeff
anyone has a differing opinion I am extremely > interested in hearing it. > > Thanks for listening. > Jon > > > On Apr 11, 2011 4:23 AM, "jeff" wrote: > > I would also recommend the Cava packager and Citrus Perl. No hassle, > > self contained builds with

Re: Forcing a Look 'n' Feel - Cava :-)

2011-04-11 Thread jeff
Cava & Citrusperl are the way to go. Mark has taken care all of the Perl builds on all platforms, the packaging on all platforms and now even the installer. All you do is write code and feed it in. :-) Jeff

Re: Forcing a Look 'n' Feel - Cava :-)

2011-04-11 Thread jeff
On Mon, 2011-04-11 at 20:59 +0300, Octavian Rasnita wrote: > From: "jeff" > > Cava & Citrusperl are the way to go. Mark has taken care all of the > > Perl builds on all platforms, the packaging on all platforms and now > > even the installer. All

Re: Forcing a Look 'n' Feel - Cava :-)

2011-04-11 Thread jeff
I assume you command line interface by CLI On Mon, 2011-04-11 at 14:29 -0400, jeff wrote: > On Mon, 2011-04-11 at 20:59 +0300, Octavian Rasnita wrote: > > From: "jeff" > > > Cava & Citrusperl are the way to go. Mark has taken care all of the > > > Perl

fonts in wxcombobox

2011-05-23 Thread jeff
Anybody know a way to change the font in wxcombobox? Doesn't seem to respond to SetFont function. Thanks. Jeff

Re: fonts in wxcombobox

2011-05-23 Thread jeff
rds > > Mark > > > On 23/05/2011 12:10, jeff wrote: > > Anybody know a way to change the font in wxcombobox? Doesn't seem to > > respond to SetFont function. Thanks. > > > > Jeff > > > > > _

wxtreelistctrl colors question

2011-06-20 Thread jeff
Trying to color individual columns and the column argument for SetItemTextColour does not seem to be implemented. Is this true? Is there a way to color cells or columns individually ? If you know a way to do the sam with wxlistctrl I would like to know as well. Thanks. Jeff wxTreeListCtrl

Re: wxtreelistctrl colors question

2011-06-22 Thread jeff
I think setting text > colour etc. will only work if the item you are setting is a Tree node. > > I think that if you want a rich data representation in a table-like > view, you may wish to try Wx::Grid. I has little documentation, but the > Wx::Demo examples cover just about e

Re: wxtreelistctrl colors question

2011-06-22 Thread jeff
Awesome. Will check that out. Thanks. On Wed, 2011-06-22 at 18:18 +0100, Mark Dootson wrote: > Hi, > > On 22/06/2011 18:03, jeff wrote: > > Thanks Mark. Bummer. The reason I didn't consider wxgrid is its appears > > to not be virtual - or am I mistaken ? Can

treelistctrl question

2011-07-18 Thread jeff
has a simple example of wxtreelistctrl in virtual mode they could post I would appreciate - not much in the way of examples coming back from Google. Thanks, Jeff

Scrolledwindow with in a scrolledwindow

2011-12-19 Thread jeff
except the outer scrolled window's virtual size blows up to what would be required if the inner scrolled window were not present and the outer scrolledwindow was trying to hold all the widgets from the inner scrolledwindow. Anyone attemped this and succeeded? Thanks. Jeff

Re: I am frustrated

2012-01-19 Thread jeff
Download Citrus Perl for OSX and install. No problems for me anyway. Jeff On Thu, 2012-01-19 at 23:00 +0100, ademmler wrote: > hi folks, > > I am really frustrated. I am hunting since 3 days to get my WxPerl software > working > on Mac OS X 10.6.8 I have send a couple of mai

RE: Wx installation fails

2012-01-19 Thread jeff
None of my business, I know, but heres a question: why go through reinventing the wheel? Mark has done the hard part. Why not take advantage of that and get on with writing code? Jeff On Thu, 2012-01-19 at 21:38 -0200, Steve Cookson wrote: > Hi Alexander, > > 1) Alien does use the

RE: Wx installation fails

2012-01-19 Thread jeff
writing code? > > Hi Jeff, > > You're perfectly right, if cpan -I Wx works, use it. Also you can use Perl > Package Manager (does it exist on Mac?). And on Linux you can use apt-get > or whatever comes with your dist. > > But sometimes it doesn't for various

wx::dialog and movexy broken?

2012-02-08 Thread jeff
:-( Anyone have any ideas? Hopefully we're just being stupid ;-) Jeff # CUT HERE # use strict; use Wx; ### # # Extend the Frame class to our needs # package My

[Fwd: wx::dialog and movexy broken?]

2012-02-08 Thread jeff
. Click it a 5th time and it will open at the requested location. And on and on., alternating between the two positions. The line of interest is ~ line 50. Having this behavior in many locations in real code :-( Anyone have any ideas? Hopefully we're just being stupid ;-)

RE: [Fwd: wx::dialog and movexy broken?]

2012-02-08 Thread jeff
This is on Linux. How can I tell which Wxperl build this is? On Wed, 2012-02-08 at 21:29 -0200, Steve Cookson wrote: > Hi Jeff, > > I tried it on Windows and couldn't see the problem you report. What O/s are > you using. > > Regards > > Steve > > >

RE: [Fwd: wx::dialog and movexy broken?]

2012-02-08 Thread jeff
Ok think I found it - Wx::wxVERSION(). Version = 2.008012 What version are you using? On Wed, 2012-02-08 at 21:29 -0200, Steve Cookson wrote: > Hi Jeff, > > I tried it on Windows and couldn't see the problem you report. What O/s are > you using. >

Re: [Fwd: wx::dialog and movexy broken?]

2012-02-09 Thread jeff
; { > my( $self, $event ) = @_; > > if($self->{dialog_state}==0){ > $self->{dialog}->Show(1); > $self->{dialog}->MoveXY(99,99); > $self->{dialog}->MoveXY(100,100); > $self->{dialog_state}=1; > } > else{ > $self->

Re: Wx Release 0.9905

2012-03-17 Thread jeff
Like the property grid. Will you be putting out a Citrus Perl with .9905 in the near future. Thanks. On Sat, 2012-03-17 at 05:16 +, Mark Dootson wrote: > Hi, > > The latest Wx release 0.9905 wraps a few more of the new controls for > wxWidgets 2.9.3. > Wx::PropertyGrid, Wx::RibbonControl

Controlling multiple wxWindows with a single wxScrollbar ?

2012-05-10 Thread jeff
Hi, No having much luck. Could someone post a simple example if this can be done? Thanks. Jeff

Virtual window position

2012-05-10 Thread jeff
n the virtual window? Thanks, Jeff

Re: Controlling multiple wxWindows with a single wxScrollbar ?

2012-05-10 Thread jeff
, Sergei Steshenko wrote: > > > > - Original Message - > > From: jeff > > To: wxperl-users@perl.org > > Cc: > > Sent: Thursday, May 10, 2012 2:29 PM > > Subject: Controlling multiple wxWindows with a single wxScrollbar ? > > > > Hi

RE: Controlling multiple wxWindows with a single wxScrollbar ?

2012-05-10 Thread jeff
Is this what we are looking for. Please see attached. > > Regards > > Steve > > > > -----Original Message- > From: jeff [mailto:j...@roqc.no] > Sent: 10 May 2012 12:43 > To: wxperl-users@perl.org > Subject: Re: Controlling multiple wxWindows with a sin

Re: Getting information from EVT_LIST_ITEM_RIGHT_CLICK

2013-02-01 Thread Jeff
From what I can see, EVT_LIST_ITEM_SELECTED does not fire when selecting using the shift key in multi select mode. Jeff On 2/1/2013 3:24 PM, steveco.1...@gmail.com wrote: Hi Guys, Actually, I'm quite interested in this discussion too. I'm having difficulty distinguishi

Re: Getting information from EVT_LIST_ITEM_RIGHT_CLICK

2013-02-01 Thread Jeff
We're using EVT_LISTBOX for a single and EVT_LISTBOX_DCLICK for a double. On 2/1/2013 3:24 PM, steveco.1...@gmail.com wrote: Hi Guys, Actually, I'm quite interested in this discussion too. I'm having difficulty distinguishing between EVT_LIST_ITEM_SELECTED and EVT_LIST_ITEM_ACTIVATED. If the

wxLC_VIRTUAL and EVT_LIST_ITEM_RIGHT_CLICK

2013-02-05 Thread Jeff
Thanks Mark. Yes, we are using virtual. Did I mention we get around that by sensing key EVT_KEY_UP and checking if GetKeyCode is 306. If it is we call our "item selected" callback. On 2/4/2013 8:12 PM, Mark Dootson wrote: Hi Jeff, Answering the wxListCtrl questions one by

Re: wxLC_VIRTUAL and EVT_LIST_ITEM_RIGHT_CLICK

2013-02-05 Thread Jeff
I should mention that we only wanted one event after user sweeps across control using shift key ( ie no event until they are done ). Depending on the app, the call back can be quite complex and time consuming. On 2/5/2013 6:03 AM, Mark Dootson wrote: Hi Jeff, On 05/02/2013 10:50, Jeff wrote

Re: rowcall for installation info

2013-03-18 Thread Jeff
But if you want to distribute on Linux ( or any other platform) you can't beat Mark's Citrus and Cava. Work beautifully together. Jeff On 3/18/2013 6:55 AM, steveco.1...@gmail.com wrote: Hi Johan, 1. Use CitrusPerl Do you use Citrus Perl on Linux too? I don't because the

Re: Deploying with CitrusPerl

2013-05-26 Thread Jeff
Use Citrus Perl and Cava. It is a great combination. Its been working flawlessly for us for a few years now under linux and windows. Mark knows what he is doing. :) Jeff On 5/26/2013 8:22 AM, Octavian Rasnita wrote: Hi, I am trying to deploy a free WxPerl app that should work under Linux

Deploying with CitrusPerl - Command line

2013-05-27 Thread Jeff
Yes, we actually script our cava builds on linux. Very rarely open Cava GUI unless we need to add a new package/app to the build. On 5/27/2013 1:41 AM, Octavian Rasnita wrote: From: "Johan Vromans" "Octavian Rasnita" writes: Do you know if Cava can be used in command line? In that case it

Re: Deploying with CitrusPerl - Command line

2013-05-27 Thread Jeff
Let me restate that because that might be misleading. Cava is very good at finding and including package dependencies. So, we very rarely open Cava GUI unless we need to add a new application to the build. On 5/27/2013 6:52 AM, Jeff wrote: Yes, we actually script our cava builds on linux

Embed an image

2009-04-06 Thread Jeff Huber
Can anyone send an example of embedding an image in code as a scalar and using with Wx::Bitmap? Thnaks.

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

2009-12-07 Thread Jeff Huber
--prefix is there. Gabor Szabo wrote: On Mon, Dec 7, 2009 at 4:43 PM, perltk wrote: 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 no

Refresh after adding more widgets

2010-03-24 Thread Jeff Huber
Learning wxperl - so please bear with me. Adding panel with other widgtes to a scrolled panel at various times while running app. The added panel only shows up corretly after a resize. How do I get it to refresh immediately after adding panel? Thanks.

Re: Refresh after adding more widgets

2010-03-24 Thread Jeff Huber
Also this is linux and wxwidgets docs say ->Refresh doesn't work - ?? Jeff Huber wrote: Learning wxperl - so please bear with me. Adding panel with other widgtes to a scrolled panel at various times while running app. The added panel only shows up corretly after a resize. How do I g

Re: Refresh after adding more widgets

2010-03-25 Thread Jeff Huber
Thanks. No I didn't - but will try that. I did get is to works with: ->FitInside Johan Vromans wrote: Jeff Huber writes: Learning wxperl - so please bear with me. Adding panel with other widgtes to a scrolled panel at various times while running app. The added panel only

Re: wxperl + perlapp + xrc

2010-03-27 Thread Jeff Huber
Mark, Is there anything I can do in a BEGIN block to facilitate the setup ? Mark Dootson wrote: Hi, The segmentation fault was cause by a bug in Wx::Perl::Packager (trying to load 'adv' from the wrong place when requested as plugin by XRC). Fixed version Wx::Perl::Packager 0.24 is avail