For those that haven't been on PM lately, here's a repost.
--
AKA - Another wxPerl example.
Back in June I was looking into the purchase of Digilent's Analog Discovery
USB O-scope(still looking). I was considering
Bruce:
Thanks! I'll give it a try. Should have found that one myself...duh...
James
On Sun, Apr 3, 2016 at 7:29 PM, James Lynes <jmlyne...@gmail.com> wrote:
> Hello All:
>
> Is there any way to change the background and/or foreground color of a
> Wx::Button?
>
> Thanks,
> James
>
>
Hello All:
Is there any way to change the background and/or foreground color of a
Wx::Button?
Thanks,
James
Mark:
Good memory. That worked fine.
As I remember, the wxWidgets docs said that NewFromPNGData was a wrapper
around Wx::Image calls which is what your suggestion shows.
Thanks again,
James
On Thu, Mar 24, 2016 at 5:11 PM, James Lynes <jmlyne...@gmail.com> wrote:
> Thanks Mark.
Wx::Image->new( $fh, wxBITMAP_TYPE_PNG)
> );
>
>
>
> On 24/03/2016 10:44, James Lynes wrote:
>
>> Hello All:
>>
>> It seems that Wx::Bitmap NewFromPNGData is not wrapped(didn't see any
>> reference to it in bitmap.xs).
>>
>> wxWidgets defines it a
Hello All:
It seems that Wx::Bitmap NewFromPNGData is not wrapped(didn't see any
reference to it in bitmap.xs).
wxWidgets defines it as:
public:
// Create a new wxBitmap from the PNG data in the given buffer
static wxBitmap NewFromPNGData(const void* data, size_t size);
What's involved
Hello All:
Awhile back I was working on some wxPerl code to simulate an o-scope
display screen. While the original requirement that started me down that
path went away, I did get a proof of concept working that displayed several
waveforms and a four channel logic analyser(animated).
I have also
t; I received were “HtmlDocTest.pl” and “ClassList1”. Many thanks.
>
> Cheers,
> Ron.
>
> On 30/01/16 4:26 AM, "James Lynes" <jmlyne...@gmail.com> wrote:
>
> Ron:
>
> Yes, I meant to include Dummy.usc(contains a wxRadioBox use case) so there
> would be som
Ron, Steve, et. al.:
I got to thinking a few days ago about how we could leverage the great mass
of documentation already produced by the wxWidgets folks, especially the
member function/method documentation for each widget.
So, I threw together a proof of concept script(attached) for a wxPerl
Hi Ron:
A couple of gotchas...
When using the hash syntax and making a typo, the hash will be perfectly
happy to create the mis-named entry.
Yesterday I wanted to say $self->{button}, but typed $self->{buttion}. I
overlooked this typo for quite awhile. The result was a sizer not working
introductory wxPerl programming, the use of “$self->{radiobox}” seems a
> little frightening. Personally, I would prefer a simpler syntax like,
>
> my $radiobox = Wx::RadioBox->new( $parent, ... );
>
> Kind Regards,
>
> Ron.
>
>
> On 19/01/16 6:10 AM, "Jame
Ron & Steve:
Here's an initial shot at a format for documenting a widget. As I remember
the wxWidgets 2.8 pdf documentation was 2500+ pages, so we need to not get
overly ambitious. I have no idea if all of the Member Functions that are
listed in the wxWidgets HTML docs are actually wrapped.
In
;
>
> Hopefully as I’m adding to the design document, the full picture for the
> book will begin to emerge.
>
> Best Regards,
>
> Ron.
>
>
> On 17/01/16 8:15 AM, "James Lynes" <jmlyne...@gmail.com> wrote:
>
> Ron:
>
> Nice work.
>
> I agree wi
)
>
> You can just add one or delete one and then recompile wxPerl.
>
> cd ~/wxPerl
> make install
>
> I'll send more emails as I get into it.
>
> Regards
>
> Steve.
>
>
>
> On 13/01/16 23:57, James Lynes wrote:
>
> I think the software maintena
gt; Please post your current status and I'll try to help you.
>
> Regards
>
> Steve.
>
>
> On 12/01/16 17:53, Mehmet Kayaalp wrote:
>
> On Fri, Jan 8, 2016 at 8:04 PM, James Lynes <jmlyne...@gmail.com> wrote:
> [...]
> > wxPerl Language Support
> >
very useful, and
> feel that it should be described in detail in this book, please post a
> reply.
>
> My next task is to translate the TOC so it is relevant to wxPerl. There
> are already a few additions that I intend to include:
>
>
>1. James Lynes mentioned “Simpl
M, Johan Vromans <jvrom...@squirrel.nl> wrote:
> >
> > On Thu, 7 Jan 2016 17:25:51 -0500
> > James Lynes <jmlyne...@gmail.com> wrote:
> >
> >> wxPerl Language Support
> >> ...
> >
> > wxGlade
> >
> > -- Johan
> > http://johan.vromans.org/seasons_greetings.html
>
>
ets
> Wrapping External Libraries
> Complex Application Architecture
> Database Access
> Networking
> Other
>
>
> Cheers,
>
> Ron.
>
>
> On 8/01/16 6:25 AM, "James Lynes" <jmlyne...@gmail.com&
st - wxperl-users@perl.org
Email Archive -www.nntp.perl.org/group/perl.wxperl
wxperl.it
sourceforge.net/projects/wxperl
The wxBook - "Cross-Platform GUI Programming with wxWidgets" Smart,
Hock, & Csomor
wxWidgets HTML Documentation
Other
Other
On Wed, Jan
wxPerl has a lot of moving parts. I started thinking out loud about how to
keep these parts moving. Feel free to provide additions.
James
wxPerl Issues - January 6,2016
--
(Thinking out loud in outline form)
What does it take to keep the wxPerl infrastructure
n’t know what the current state is. My personal view
> is that WxPerl still has a lot to offer but needs to be more appealing to
> introductory GUI programmers.
>
> Kind Regards.
>
>
> Ron Grunwald
> ron...@yahoo.com.au
> http://www.dvlc
Johan:
I see you got an overwhelming response to your post.
Is anyone still using wxPerl? The only response I got to my last couple of
questions came from Steve.
James
On Sat, Dec 26, 2015 at 9:57 AM, Johan Vromans <jvrom...@squirrel.nl> wrote:
> On Mon, 5 Jan 2015 14:54:35 -050
Hi Steve:
After putting it away for awhile, I got the Threaded wxPerl SDR application
working yesterday.
Among other problems, I had a real DUH moment.
You can't type $commom{pause} and expect the compiler to figure out that I
meant $common{pause}! I don't know how many times I looked past the
s/telnet.shtml
>
> I also suggest that while(1), is a bit uncompromising,
> while(!$common{connected}) would be more controlled and using a for loop to
> try a limited number of times, even more so.
>
> Good luck,
>
> Regards
>
> Steve.
>
>
> On 29/09/15 18:35, Jam
and error and error and error... It's a good thing the compiler is fast and
it's not the old punch card days...
I'll post the code when it's working again.
Jim
On Sun, Sep 27, 2015 at 8:27 AM, Steve Cookson <steve.cook...@sca-uk.com>
wrote:
> Hi James,
>
> On 24/09/15 18:13, Ja
I apologize for the length of this question in advance.
Background: The July 2015 issue of Nuts and Volts magazine had an article
on using an inexpensive DVB-T USB dongle along with a 24MHz upconverter as
the basis for an HF and higher Software Defined Receiver(SDR). The software
used in the
Hello all:
When I was working on my CEAmp script, I ask how to display a bitmap within
the Sizer structure. The answer was to use the PNG file to create a
Wx::Bitmap and then use that to create a Wx::StaticBitmap that could be
added to a Sizer. This worked as advertized.
In a script I am working
, would
work better than .
2. Needed to install inc::latest, as didn't have the last version
3. Failed some tests because GD.pm, but is working for now
Once again, thanks for the help!
On Thursday, May 7, 2015 12:11 PM, James Lynes via RT
bug...@rt.cpan.org wrote:
URL: https
. Failed some tests because GD.pm, but is working for now
Once again, thanks for the help!
On Thursday, May 7, 2015 12:11 PM, James Lynes via RT
bug...@rt.cpan.org wrote:
URL: https://rt.cpan.org/Ticket/Display.html?id=104298
I run Ubuntu 14.04LTS 64 bit on an HP 15 laptop.
See the WIKI
and behold the leak
disappeared only to pop up else where.
It's driving me a bit crazier than I was anyway, and worse, I don't even
know if it's causing the video crash! Any suggestions welcome!
Thanks for asking,
Steve.
On 06/05/15 23:39, James Lynes wrote:
Solved... via trial
Thu May 07 15:11:30 2015: Request 104298 was acted upon.
Transaction: Correspondence added by jmlyne...@gmail.com
Queue: Wx
Subject: Re: [rt.cpan.org #104298] Wx can't be installed in Ubuntu 14.04
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors:
I run Ubuntu 14.04LTS 64 bit on an HP 15 laptop.
See the WIKI for the installation script that I used.
James
On Thu, May 7, 2015 at 12:32 PM, Ovidiu Barbu via RT bug...@rt.cpan.org
wrote:
Thu May 07 12:32:16 2015: Request 104298 was acted upon.
Transaction: Ticket created by
, James Lynes wrote:
Good day!
I'm working on a little app to design common emitter amplifiers. I
created a circuit schematic with Eagle and exported it to a PNG file.
I am currently displaying the PNG at a fixed location of the screen with:
Wx::Event::EVT_PAINT($self, sub {
my
Solved... via trial and error and error and error...
Made the top level sizer horizontal, containing a left and right vertical,
containing text controls, bitmap, and buttons.
Will post once I add a few more bells and whistles.
Thanks again,
James
On Wed, May 6, 2015 at 4:06 PM, James Lynes
Good day!
I'm working on a little app to design common emitter amplifiers. I created
a circuit schematic with Eagle and exported it to a PNG file.
I am currently displaying the PNG at a fixed location of the screen with:
Wx::Event::EVT_PAINT($self, sub {
my ($self, $event) = @_;
Steve:
For completeness, here's the final version of the pdf_to_png script.
James
pdf_to_png.pl
Description: Perl program
remember why. I'll look into it. Anyone
else any ideas?
Regards
Steve.
On 30/01/15 20:59, James Lynes wrote:
Steve:
The exit(0) seems to be causing a segmentation fault. Any Ideas?
Latest version of the code is attached.
Thanks,
James
On Thu, Jan 29, 2015 at 4:29 PM, James
Steve:
The exit(0) seems to be causing a segmentation fault. Any Ideas?
Latest version of the code is attached.
Thanks,
James
On Thu, Jan 29, 2015 at 4:29 PM, James Lynes jmlyne...@gmail.com wrote:
Steve:
I believe I looked at Glade a couple of years ago. Seems it kept crashing
on me so
as well because I feel it needs a bit of loving!
On 28/01/15 18:23, James Lynes wrote:
Hi Steve:
How's your project rollout going?
Very kind of you to ask. The launch went very well, since then we have
been dealing with the manufacturer and we are working to a delivery of the
first batch
Great, but what needs to be done long term?
James
On Mon, Jan 5, 2015 at 1:11 PM, mark.doot...@znix.com wrote:
This message is to confirm the successful renewal of wxperl.it for 1 year(s).
The new expiration date is 2016-03-03 22:59:59.
On 2015-01-05 17:48, Alexander xb wrote:
Who
For my own education, is this a problem of version? I ask because on my
3.0.1 system, I spent some time last night digging around and in
wx/datetime.h I found:
GetTicks()
return (time_t)((m_time/(long)TIME_T_FACTOR.ToLong()) +
WX_TIME_BASE_OFFSET
where m_time is the internal
Dave:
Have you looked at Wx::DateTime::Now()?
I looked in WxDemo and found:
my $date = Wx::DateTime::Now();
$date-FormatDate()
$date-FormatTime()
There are a lot of accessor methods listed in the wxWidgets docs.
James
On Wed, Dec 31, 2014 at 5:29 PM, Dave Hayes d...@jetcafe.org
Hi:
From the wxWidgets docs, the wxColour object has methods:
GetAsString(wxC2S_NAME | wxC2S_CSS_SYNTAX) - returns a text
representation
GetRGB()
- returns 32bit value
GetRGBA() -
returns 32bit value
The above constants
Steve:
Congratulations!
Post a product brochure if you can.
James
On Sun, Nov 30, 2014 at 9:25 AM, Steve Cookson steve.cook...@sca-uk.com
wrote:
Hi Guys,
After six years of graft and toil we have just launched our project i-Mage
at a medical conference in Rio de Janeiro, Brazil and I
I think something like the wxPerl Cookbook would be useful if well indexed
and documented.
James
On Fri, Nov 7, 2014 at 5:28 AM, Steve Cookson steve.cook...@sca-uk.com
wrote:
Hi James,
On 05/11/14 21:30, James Lynes wrote:
I couldn't find a method that returns an item's position under
There are no five minute jobs.
okI'm still playing with wxTreeCtrl. I'm at the point of wanting to
save/retrieve the Tree that I have created.
I believe that the Tree structure is something like:
Frame-TreeCtrl-RootNode-BranchNodes-SubBranchNodes-LeafNodes to an
arbitrary depth.
Can
know enough to understand it
yet.
Thanks for the help.
James
On Wed, Nov 5, 2014 at 12:50 PM, Steve Cookson steve.cook...@sca-uk.com
wrote:
Hi James,
On 05/11/14 17:14, James Lynes wrote:
I assume that you were looking in TreeCtrl.xs(I'm starting to see
how/where things are done!)
Yes
On Mon, Nov 3, 2014 at 4:03 AM, Steve Cookson - gmail
steveco.1...@gmail.com wrote:
Hi James,
Interesting glitch. But it looks like a Native wxWidgets glitch not a
wxPerl glitch.
On 03/11/14 01:36, James Lynes wrote:
Run the wxDemo TreeCtrl demo
Background changes to red(selected
Good evening:
I'm playing with a TreeCtrl sample and I noticed something in my code and
in the wxDemo code.
Run the wxDemo TreeCtrl demo
Select some node
Background changes to red(selected)
Rename the node
Background stays red
Deselect All
Background returns to
based on a script by Mark Dootson.
But it's really the logging and filtering that make it stand out, which
would work on anything.
Thanks for everything.
Regards,
Steve.
On 26/10/14 23:25, James Lynes wrote:
Hi Steve:
Here is hopefully the final version of the script!
I
:
Hi James,
Very nice. I ran it on my PC.
I often thought about why I didn't do the whole install script in Perl.
It just seemed too large a task, especially the error checking.
Regards,
Steve.
On 24/10/14 23:47, James Lynes wrote:
Hi Steve:
Came up with a short script to list
Also, uploaded this version to the Wiki.
James
On Sun, Oct 26, 2014 at 7:25 PM, James Lynes jmlyne...@gmail.com wrote:
Hi Steve:
Here is hopefully the final version of the script!
I finally found/figured out how to do the logging the way that I wanted
and I commented out the clean-up
.
On 22-10-2014 18:05, James Lynes wrote:
Hi Steve:
Attached is the revised script.
I had a problem the first time I ran it as a prompt was asked for but not
seen as it was sent to the log file. The process hung at that point since
the prompt wasn't responded to.
So, now I have everything
On Mon, Oct 20, 2014 at 1:55 PM, Steve Cookson - gmail
steveco.1...@gmail.com wrote:
Hi James,
Thanks for putting it out there. And great response.
My comments follow.
Steve.
On 20-10-2014 18:20, James Lynes wrote:
I got the following feedback from posting the install script on Perl
/perl/5.18.2/Wx/
usr/local/share/man/man3/
ust/local/share/man/man1/
I don't see where any unrelated packages were effected. It seems that it
would be prudent to begin the find at /usr/local/.
James
On Mon, Oct 20, 2014 at 2:48 PM, James Lynes jmlyne...@gmail.com wrote:
Steve:
I need
Johan:
The request form worked this time.
Thanks for checking into it for me.
James
On Sun, Oct 12, 2014 at 4:10 AM, Johan Vromans jvrom...@squirrel.nl wrote:
James Lynes jmlyne...@gmail.com writes:
Tried this and it didn't work.
Said there was a pending request with the same email
Tried this and it didn't work.
Said there was a pending request with the same email address.
From an earlier request months ago???
James
On Sat, Oct 11, 2014 at 1:58 PM, Steve Cookson - gmail
steveco.1...@gmail.com wrote:
Ok, looks good, works for me.
to your paying jobs!
James
On Fri, Oct 10, 2014 at 2:08 PM, Steve Cookson steve.cook...@sca-uk.com
wrote:
Hi James,
Thanks for all your effort on this.
Regards
Steve.
On 10/10/14 17:07, James Lynes wrote:
Great. Thanks.
Hope it helps someone else.
James
On Oct 10, 2014 11:09 AM
Steve, et.al.
I ran the install script that I had previously posted, over the weekend. I
didn't get an accurate runtime as I thought I would be able to scroll up
the terminal window and get the start time, but the mass of messages
overflowed the terminal window buffering. At any rate I estimate
Steve, Johan, et.al.
I'm sorry to hear that Citrus Perl is dormant. It worked well for me.
Listed below is an annotated version of Steve's script.
Before I try to run it, I have more questions.
There are some git commands between perl Build and perl Build Install and
between make and make
Good Day:
I have recently had to replace my 32bit Thinkpad with an HP 15 64bit quad
core.
I replaced Windows 8 with Ubuntu 14.04LTS 64bit.
I saw a few recent posts concerning an Installation Cookbook and was
wondering if any more work has been done on this topic. I'd like to install
the newest
Attached is the final version of the example of integrating wxPerl with
GD:Graph.
Many thanks to Mark Dootson for the code to display the graph in a PaintDC
rather than shelling out to a file viewer. This makes this version platform
independent.
I hope this example is useful.
James
get.
Comments on this approach are welcome.
James
On Mon, Jun 24, 2013 at 9:18 AM, James Lynes jmlyne...@gmail.com wrote:
Good Morning!
Has anyone used something like GD::Graph to plot a line chart and pop it
up on a frame?
The posts that I have found seem a little dated, so I'm asking
, found that it works perfectly ok - and posted to Perl Monks.
Cheers
Mark
On 11/05/2013 22:42, James Lynes wrote:
Thanks Johan.
I have also suggested installing Citrus Perl on the PM thread and an AM
has suggested ppm several times. No idea why HelenCr continues to try
and build it herself
formatting.
Regards
Mark
On 28/03/2013 23:40, James Lynes wrote:
Steve:
Thanks for taking a look! I haven't found anything else either. I think
it's a long standing issue.
I did mock-up an alternate solution using wxGrid(attached). It's a lot
more visually flexible, but not sure
spend any more time on this now, but if I do get a minute
I'll have another look.
Good luck,
Regards
Steve
--
*From:* James Lynes [mailto:jmlyne...@gmail.com]
*Sent:* 27 March 2013 15:42
*To:* wxperl-users@perl.org
*Subject:* Formatting the Column Headers
Good Afternoon(in Florida at least):
I have been trying to help a Perl Monks poster with the question: How do
you change the color and font of a ListCtrl column header? It's been
interesting archeology so far!
It seems that Wx::ListItem-SetTextColour
Steve:
Here's what I have working for a custom dialog with a text validator.
Probably a cleaner way to do some of it, but one step at a time. :)
Thanks to all for their suggestions.
James
(also posted to github)
On Thu, Feb 14, 2013 at 12:10 AM, James Lynes jmlyne...@gmail.com wrote:
I have
On Wed, Feb 13, 2013 at 2:43 AM, Johan Vromans jvrom...@squirrel.nl wrote:
James Lynes jmlyne...@gmail.com writes:
print Dumper($timeval) says:
$VAR1 = bless( {
'data' = \'10:00',
'validate' = qr/(?^:(\d+:))/
}, 'LCDAlarmClockDialog
Steve:
Looks like your example matches up with Johan's suggestion. I'll try a
character class.
Thanks, for your response.
James
On Wed, Feb 13, 2013 at 6:36 AM, steveco.1...@gmail.com wrote:
I am playing with creating a custom dialog using validators and I seem to
have hit a wall. I am
I have a working version and will post it after some sleep.
James
On Wed, Feb 13, 2013 at 11:21 AM, James Lynes jmlyne...@gmail.com wrote:
Steve:
Looks like your example matches up with Johan's suggestion. I'll try a
character class.
Thanks, for your response.
James
On Wed, Feb 13
Good Afternoon:
This may be common knowledge
I wrote a small program to learn how Class::Accessor works. And it didn't!
The object was created fine, but the accessor subroutines weren't. I found
the
solution in a stackoverflow post. Since I'm a kinda top down guy and since I
put all the
Good morning:
I've recently ported several C++ wxIndustrial Controls to wxPerl and I'm
now abstracting the LinearMeter example into a module so that multiple
meters can exist on a window. I have a couple of questions that I hope the
group can help me with.
First: I create a frame. Create 6
I installed Citrus Perl 5.16.1 w/Wx. Just downloaded the linux 32bit x86
standard version and followed the install instructions. Smooth. No problems.
James
On Sat, Jan 5, 2013 at 12:44 PM, Steve Cookson steveco.1...@gmail.comwrote:
Hi Guys,
It's very exciting that the Wiki is up and running
Herbert:
Is your 12 part tutorial series available in English anywhere?
Thanks, James
On Fri, Jan 4, 2013 at 2:54 PM, herbert breunung deirdre_s...@web.dewrote:
dear list readers,
i want to use the momentum of the latest post thread,
to clearify what i intent to do with the wxperlbook
What's the equivalent to the hosts file for linux?
James
On Wed, Jan 2, 2013 at 3:20 PM, Michael Roberts mich...@vivtek.com wrote:
On 1/2/2013 9:16 PM, Steve Cookson wrote:
On Wed, Jan 2, 2013 at 4:00 PM, Wallace Winfrey wwinf...@gmail.com
wrote:
I can still get to the site if I put
Steve:
Thanks for the conversation starter.
As a new learner,for me, the state of the documentation is the major
issue. The wxWidgets document is massive and the perl references are
spotty. As a result, I bought the WxBook and converted the C++ examples to
wxPerl to help with my learning curve.
Timing issue seemed to be related to defining the frame smaller than the
sample graphic screen. It wasn't all being painted in one pass and the
capture was happening between paints. Defining the frame to be screen size
solved the problem.
James
Module Version of Screen Capture
Mark:
Thanks for the heads-up on the next release. I will wait. Not in a real
hurry. Hope the update goes well.
James
On Tue, Oct 2, 2012 at 6:32 PM, Mark Dootson mark.doot...@znix.com wrote:
Hi,
On 02/10/2012 23:20, James Lynes wrote:
For moving to Citrus Perl I assume the standard
Hello all:
I am new to the list, so if this is not in the proper format, please let me
know.
Environment: I am running Ubuntu 10.10 with:
Perl 5.10.1
wxWidgets 2.8.11
wxPerl
80 matches
Mail list logo