Hi Guys,
On 18/01/16 22:10, James Lynes wrote:
I have no idea if all of the Member Functions that are listed in the
wxWidgets HTML docs are actually wrapped.
Does anybody know of unwrapped classes and or members. We might start
to draw up a listr.
Regards
Steve.
Hello Guys,
I keep thinking how can we lower the barriers to wxPerl and increase its uptake.
I wondered if some online training might be quite nice. I would like
to try creating some online training videos, maybe we could upload
them to youtube or somewhere. I wondered if anyone knew of any
cla
Hi,
[Sorry for the cross-posting, I've only just found this group].
I'm having difficulty passing an object to an event handler in Perl.
I have two events which populate a screen with patient details
Either by pressing search and returning a value:
Wx::Event::EVT_BUTTON(
$self,
Hi Guys,
I've just found this list. I have been using the wonderful wxPerl
experimentally since the beginning of the year using wxGlade to get me
started.
But I've had to use the C++ community to support my work. So I have the C++
book, the C++ 2.8.10 documentation, I'm a member of the C++ supp
Sorry to hear about the Wiki, I hope enough time has passed for everyone to
grieve, so I'm going to put a less funereal spin on the front page. I'd
like to encourage everyone to contribute a small something (a piece of code
or advice etc) to the site.
Is http://wxperl.pvoice.org/ the main wxPerl
Hi Eric,
Sorry I'm a bit behind the curve on this one. I'm pleased to hear that you
are embarking on some Doc.
Did you ever get this to work:
http://prdownloads.sourceforge.net/wxperl/wxPerl-0.82-wx-2.8.7-docs-chm.chm
For me it only showed blank pages on the right-hand pane. So I don't know
Hi Guys,
Does anyone know how to use any of the GetEvent keywords?
I have a subroutine which is called by a number of events, some of which
pass 3 parameters and some of which pass 2 (ie they don't all pass $self).
The processing is slightly different depending on which event triggered the
routi
Hi Guys,
Does anyone know what the correct syntax for a Perl destructor is, if I want
to remove a field, sizer or tab from a pane?
Any suggestions welcome!
Regards
Steve
<>
riday, August 07, 2009, Steve Cookson wrote:
> Hi Eric,
>
> Did you ever get this to work:
>
>
http://prdownloads.sourceforge.net/wxperl/wxPerl-0.82-wx-2.8.7-docs-chm.
chm
>
> For me it only showed blank pages on the right-hand pane. So I
> don't know if it was any good.
HTH,
Sean
***
On Fri, Aug 7, 2009 at 9:28 AM, Steve Cookson
wrote:
> Hi Octavian,
>
> I recduecd the filename to its minimum, but no joy.
>
> Don't worry.
>
> Regards
>
> Steve
>
>
> -Original Message-
> Fro
to delete part of an object, I should use a
different command.
Regards
Steve
-Original Message-
From: Andri Möll [mailto:an...@dot.ee]
Sent: 07 August 2009 13:53
To: Steve Cookson
Cc: wxperl-users
Subject: Re: Destructors
On Fri, 2009-08-07 at 13:23 -0300, Steve Cookson wrote:
> H
Hi,
Thanks to everyone for their help.
Here is an answer that works:
$self->{"Notebook_tab_1"}->DestroyChildren();
$self->{"Notebook"}->RemovePage(0);
Regards
Steve
-Original Message-
From: Steve Cookson [mailto:steve.cook
Hi Mattia,
Thanks for this. Are they both the same? Obviously one line is better than
two!
Regards
Steve
-Original Message-
From: Mattia Barbon [mailto:mattia.bar...@libero.it]
Sent: 08 August 2009 04:50
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: Destructors
Steve
Well they both seem to work in my code so I'm using the one-liner, rather
than
The two-liner.
Thanks and regards
Steve
-Original Message-
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
Sent: 08 August 2009 13:24
To: 'Mattia Barbon'
Cc: wxperl-users@perl.
Hi,
I have a number of events that call the same subroutine. The events may
be a mixture of button events or lose focus events and I need to process
differently depending on which event it is.
Eg, A search button is the same a change value of text field and exit (loose
focus). But if the wh
icked so I use
$self->GetId() and I get "-205". What is this?
And there are other event codes like 10114, when I expected
wxEVT_COMMAND_KILL_FOCUS - 10202.
Where can I find a table that tells me what 10114 and other codes are?
Have a good day.
Regards
Steve
_
My mistake, I was using wxEVT_COMMAND_KILL_FOCUS, when I should have used
wxEVT_KILL_FOCUS.
Regards
Steve
_
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
Sent: 10 August 2009 09:02
To: wxperl-users@perl.org
Subject: FW: Distinguishing between event types
OK I'm m
s.
I'm comfortable now with how to identify which event called the
event-handler,
but I'm still struggling to understand how to identify the variables
involved when
$self is not passed as a parameter.
Regards
Steve
_
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
to the pointer to the main screen so that I can
Do cross validation etc.
What do you think?
But I haven't tried $Event->Skip(), so that might help too.
Regards
Steve
-Original Message-
From: Doubi [mailto:doubi...@googlemail.com]
Sent: 10 August 2009 16:11
To: wxperl-
on of another.
However I think I am beginning to crack it (see my email to
Ryan just now).
Thanks again for your kind help.
Regards
Steve
-Original Message-
From: Andri Möll [mailto:an...@dot.ee]
Sent: 10 August 2009 15:48
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: RE: Distingui
Hi,
I Have a piece of Perl code:
Wx::Event::EVT_KILL_FOCUS($self->{Ctl_Patient_Ref_0_Txt},
\&__lookup_patient_id);
Wx::Event::EVT_KILL_FOCUS($self->{Ctl_Patient_Description_Txt},
\&__lookup_patient_id);
When I tab out of $self->{Ctl_Patient_Ref_0_Txt} into
$self->{Ctl_Patient_Description_Txt},
AIL - James McDonald [mailto:ja...@jamesmcdonald.id.au]
Sent: 14 August 2009 02:39
To: wxperl-users@perl.org
Subject: wxGlade Generated Code
I use wxPerl to create custom interfaces.
Alot of these interfaces have a Number Keypad and I've only just
figured out how to get hold of the actual obj
ct I click using a post
from Steve Cookson (Thanks Steve). It's embarrassing to admit but I was
creating one event handler per key ( keyPress1, keyPress2 etc...)
So using:
my $keyLabel = $event->GetEventObject()->GetLabel();
I can get the text on the button I have clicked.
But let
Original Message-
From: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 14 August 2009 09:27
To: wxperl-users@perl.org
Subject: Re: wxGlade Generated Code
"Steve Cookson" writes:
> However on the Glade code, while I wrote my whole prototype In
> Glade, and I wouldn't h
Whoops, I removed all references to the $i parameter before
I sent, but I forgot to remove:
"In this routine, you should ignore the $i parameter."
Regards
Steve
-Original Message-----
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
Sent: 14 August 2009 09:54
To:
Hi Ryan,
So that's how it works! So if I want to detect tabbing out of a field
to trigger validation, I use the lose focus event (EVT_KILL_FOCUS) on
the control. But alt-tab (and I guess alt-esc etc) to another app
also trigger it. How can I filter out alt-tab etc?
Regards
Steve
-Ori
in all for my double postings ]
Hi Steve,
Steve Cookson wrote:
> So that's how it works! So if I want to detect tabbing out of a field
> to trigger validation, I use the lose focus event (EVT_KILL_FOCUS) on
> the control. But alt-tab (and I guess alt-esc etc) to another app
> al
: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 15 August 2009 14:16
To: Steve Cookson
Subject: Re: wxGlade Generated Code
"Steve Cookson" writes:
> So if I want to detect tabbing out of a field
> to trigger validation, I use the lose focus event (EVT_KILL_FOCUS) on
> the
elp.
Regards
Steve
-Original Message-
From: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 16 August 2009 05:26
To: wxperl-users@perl.org
Subject: Re: wxGlade Generated Code
"Steve Cookson" writes:
> I have looked at them, but I didn't totally understand how they w
Hi Guys,
Are there some instructions on how to add a new page to this Wiki?
Regards
Steve
<>
Thanks Eric. It's done now.
http://wxperl.pvoice.org/w/index.php/Event_List.
Regards
Steve
-Original Message-
From: wxperl.d...@gmail.com [mailto:wxperl.d...@gmail.com]
Sent: 17 August 2009 14:33
To: Steve Cookson
Subject: Re: http://wxperl.pvoice.org/
On Mon, Aug 17, 2009
Sorry, this didn't get sent->
OK, I don't know if this will help anyone else, but here is a list of event
codes and IDs.
I've posted it on:
http://wxperl.pvoice.org/w/index.php/Event_List
NB This is the Perl list, so not all C++ events may have been ported to
Perl. The ID's
Also are Perl IDs.
Hi Does anyone use the GridBagSizer sizer type?
If so what is the 'use' file name? I can't seem to find it.
Regards
Steve
<>
Actually, maybe I got that question wrong.
Really its wxGBPosition, that is failing.
"Undefined subroutine wxGBPosition called at .."
Regards
Steve
_
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
Sent: 17 August 2009 16:14
To: 'wxperl-users@pe
Hi Mattia,
Thanks, spot on.
Regards
Steve
-Original Message-
From: Mattia Barbon [mailto:mattia.bar...@libero.it]
Sent: 17 August 2009 16:28
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: FW: GridBagSizer
Steve Cookson wrote:
> Actually, maybe I got that question wr
Hi,
When I load a new item, I have a number of tabs being filled in one
pass. Maybe 60 controls for each tab (including plain text labels) and
maybe 10 tabs. It takes a few seconds, during which time the screen
is permanently being refreshed. I wondered if I could use Freeze() and
Thaw() to a)
James McDonald [mailto:ja...@jamesmcdonald.id.au]
Sent: 17 August 2009 19:27
To: Steve Cookson
Subject: Re: http://wxperl.pvoice.org/
Steve Cookson wrote:
> Thanks Eric. It's done now.
>
> http://wxperl.pvoice.org/w/index.php/Event_List.
>
> Regards
>
> Steve
>
>
>
Sorry, should have said:
http://www.activestate.com/pdf/datasheet_komodo_5-1.pdf
Regards
Steve
-Original Message-
From: James McDonald [mailto:ja...@jamesmcdonald.id.au]
Sent: 17 August 2009 19:27
To: Steve Cookson
Subject: Re: http://wxperl.pvoice.org/
Steve Cookson wrote
Hi,
I'm sorry this has turned into a rather longer posting than I had intended.
I've been googling returning from a dialog box and I found James' posting:
http://www.nntp.perl.org/group/perl.wxperl.users/2008/06/msg5919.html
Which gives some hints around cancel. Really what I want to do is
whe
nal Message-
From: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 19 August 2009 05:05
To: wxperl-users@perl.org
Subject: Re: Getting back out of a dialog box.
"Steve Cookson" writes:
> If I put in and event filter to update the database, then OK doesn't close
> the Dialo
o be wx_ID_OK, but
that sort of defeats the purpose and means I will have
multiple OK buttons. Maybe 5 OK buttons.
So what does wx_ID_OK do that deletes the dialog box and
exits in a controlled way?
Regards
Steve
-Original Message-
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
Se
Hi Mattia,
Thanks for this. In the end I used.
$self->EndModal(wxID_ADD);
Although using wxID_OK worked, it messed up the other wxID_OK.
According to the "Book", you can have multiple wxID_OK's in
your application but only one per dialog or frame.
Regards
Steve
-Original Mes
Hi People,
Thanks to all of you who have contributed to my understanding on events.
Although I've read the chapter in Bruce Perens so many times my head is
spinning it still wasn't sinking in. Anyhow, I've summarised what you've
all
said and added in some solutions to my own problems and put
vents, again.
"Steve Cookson" writes:
> http://wxperl.pvoice.org/w/index.php/Event_Handlers
Good job, Steve!
A couple of remarks.
For a 2-arg event handler, you can pass the full $self object with a
wrapper:
Wx::Event::EVT_KILL_FOCUS($self->{field_1},
sub { eve
Hi People,
I'm thinking of adding Prolog to my application does anyone
have any experience of interfacing to Prolog with wx or just
with Perl?
If so, can you give me some hints or point me to some code?
Regards
Steve
<>
Hi,
Have any of you used data dictionaries to hold your wxPerl parameters, and
if so
how would you rate it success?
Which parameters did you hold?
I am planning:
* Name,
* Type
* ID (maybe, difficult if it appears multiple times on one window)
* tooltip
* MaxLength
ssage-
From: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 23 August 2009 15:54
To: wxperl-users@perl.org
Subject: Re: Data dictionaries.
"Steve Cookson" writes:
> What do you think?
What do you want to achieve?
-- Johan
efinition of XRC syntax? I'm using wxGlade to build my
XRC files, but it doesn't support, for instance Wx::GridBagSizer.
Thanks and regards.
Steve
-Original Message-
From: ademmler [mailto:n...@ademmler.com]
Sent: 23 August 2009 19:20
To: Steve Cookson
Subject: Re: Data di
Hi,
I have a large notebook, with maybe 100 items on each tab.
Each tab corresponds to an appointment. When I switch clients
I need to clear down the tab starting with the last. If the tab being
displayed
is the first one there is no problem and the process is lightening
quick. If the tab be
Hi Brad, It worked perfectly, thanks for this, Steve
Maybe try:
$self->{"Ctl_Appointment_Nbk"}->SetSelection(0);
instead of:
$self->{Ctl_Appointment_Tab_Appt_1}->SetFocus();
That should set the displayed tab to the first tab.
Hope that works for you!
Brad
2
Hi All,
I am always doing this, and I know many of us do.
Is there any way that the default "Reply" can be to
wxperl-users@perl.org as it is, for instance, for wx-users?
Alternatively, for those of you who don't press the wrong
button, do you have a trick that helps you? Please share.
Have a
Hi People,
I am using wxMediaCtrl to develop an application with a live feed.
So far, I have only been using test.avi files for development purposes,
and being comforted by the idea of the LoadURI command, however,
I have just noticed that it says "Not implemented in wxPerl". This is
a bit of a p
Hi Mattia,
This is great news, you're right, I just misinterpreted the text.
Thanks for the clarification. Have a good weekend.
Regards
Steve
-Original Message-
From: Mattia Barbon [mailto:mattia.bar...@libero.it]
Sent: 28 August 2009 16:55
To: Steve Cookson
Cc: wxperl-
Hi People,
I'm using wxMediaCtrl to play an .avi file that I generated with ffmpeg.
The file plays well with realplayer standalone, but not so well with Windows
Media Player standalone.
When I use:
$self->{Ctl_Videos_Media}= Wx::MediaCtrl->new(
$self->{Ctl__Videos_Pane_1}, wxID_ANY, '', [-
Hi Guys,
I can't see any obvious samples that tell you how the Perl syntax works for
removing an element, like a bitmap, a textctrl or a button.
Any pointers would be welcome.
Regards
Steve
<>
Hi,
Has anyone managed to get wxSashWindows to work? I managed to find
a version written in wxRuby on google, but it was full of SashLayoutWindows
commands, which don't appear in wxPerl.
I played around with it for a while (scroll down for a working version).
The alternative, if I want to have
XPAND, 0);
# $self->{Ctl_Sizer_1b}->Fit($self);
$self->{Ctl_Sizer_1b}->Layout();
# end wxGlade
return $self;
}
1;
package main;
unless(caller){
local *Wx::App::OnInit = sub{1};
my $app = Wx::App->new();
Wx::InitAllIma
with embedded panels.
I guess I'm not sure that this is right yet.
What do others think?
Regards
Steve
-Original Message-
From: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 09 September 2009 03:32
To: wxperl-users@perl.org
Subject: Re: wxSashWindows
"Steve Cookson"
Hi,
I'm sure I've just misunderstood something simple about images, but what
have I done wrong here:
my $loc_image = Wx::Image->new(560,20);
my $loc_bmp;# used to hold the bitmap.
$loc_bmp=Wx::Bitmap->new( $loc_image );
my $dc = Wx::PaintDC->new($self->{$loc_bmp});
$dc->DrawRectangle(0,
Hi,
Does anyone know of an example of wxThread, please?
I am using ffmpeg to stream video and I would like
some process to run concurrently (like taking a snapshot),
so that the application doesn't pause.
Regards
Steve
<>
Thanks Steffen, that's great.
Regards
Steve
-Original Message-
From: Steffen Mueller [mailto:nj88ud...@sneakemail.com]
Sent: 11 September 2009 15:50
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: wxThread
Hi Steve,
Steve Cookson wrote:
> Does anyone know of an ex
in a graphical way. Should I keep redrawing the Panel, or should I use
DC:Memory as you also suggest?
Ideas welcome.
Regards
Steve
-Original Message-
From: Huub Peters [mailto:i...@huubpeters.com]
Sent: 11 September 2009 09:50
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: R
I agree, I think it would be nice to combine them.
I also suggest we might build the wxPerl community by
being more vociferous on PerlMonks.
Regards
Steve
-Original Message-
From: Johan Vromans [mailto:jvrom...@squirrel.nl]
Sent: 16 September 2009 09:59
To: wxperl-users@perl.org
Sub
Hi,
I'm trying to delete a photo and a sizer slot from a sizer using some code
as follows:
Get the slot the photo is in:
-my $item =
$self->{Ctl_Sizer_3}->GetItem()->$self->{"Ctl_Post_Exam_Videos_Sizer_6_".$gl
_edit_mode};
Followed by delete it using Remove:
-$self->{"Ctl_Post_Exam_Vid
[mailto:jvrom...@squirrel.nl]
Sent: 18 September 2009 03:19
To: Steve Cookson
Subject: Re: Deleting Sizers.
"Steve Cookson" writes:
> -my $item =
>
$self->{Ctl_Sizer_3}->GetItem()->$self->{"Ctl_Post_Exam_Videos_Sizer_6_".$gl
> _edit_mode};
GetItem requires
Hi Eric,
I'd be interested in this too.
Regards
Steve
-Original Message-
From: Roode, Eric [mailto:ero...@barrack.com]
Sent: 18 September 2009 15:48
To: wxperl-users@perl.org
Subject: Specialized text input field
I need to create a specialized text-input field. It is for quickly
se
Hi All,
When loading media in wxMediaCtrl, it seems that Play is called
automatically. In Perl "Load" is not implemented instead there is
"LoadFile". What I'd really like to hear about is some sort of parameter
that I can pass or set to Load the media, but not play it. When the
application st
Hi All,
I am having difficulty with a new image refreshing. I have a video running
under wxMediaCtrl, at the same time ffmpeg is taking a snapshot of the
video,
which is displayed in a wxScrolledWindow on the right. Ffmpeg is running
in a separate thread which has not yet completed taking the s
Hi All,
Does anyone know what the syntax of:
::wxStartTimer is?
Or anything else that measures time intervals?
Thanks very much.
Regards
Steve
<>
Hi all,
I am having difficulty in getting my .htb file working properly in wxPerl.
I have a help file produced by winrar, but my code doesn't recognise it.
If I use the one in the example provided by Mattia, it works fine, but even
if I take that file which works correctly, decompress it
.it]
Sent: 24 September 2009 16:52
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: FW: HtmlHelpController
Steve Cookson wrote:
Hi,
> If I use the one in the example provided by Mattia, it works fine, but
even
> if I take that file which works correctly, decompress it and recompress
Hi People,
Does anyone know where I can find some example wxConfig code?
Many thanks in advance.
Regards
Steve
<>
Hi Guys,
I have a small piece of code which displays a bitmap, then when you click
on the bitmap it should draw a circle round the point you clicked.
It works OK, except that it always returns (0, 0) as the coordinates of the
mouse,
where-ever you click.
Where am I going wrong?
Here is the code
Hi Huub,
Thanks for the clarification!
I'm sure I would have worked that out eventually, but it might have taken
some time :)
Regards
Steve
-Original Message-
From: Huub Peters [mailto:i...@huubpeters.com]
Sent: 25 September 2009 16:10
To: Steve Cookson
Cc: wxperl-users@per
Hi Huub,
It all worked perfectly first time.
Thanks for everything! Both this and the wxConfig (which I haven't yet
tested).
Regards
Steve
-Original Message-
From: Huub Peters [mailto:i...@huubpeters.com]
Sent: 26 September 2009 10:24
To: Steve Cookson
Cc: wxperl-users@per
This feels like either a very simple question, or one requiring
a binary chop through 2.5k lines of of code.
On exiting a routine, I have the following code:
$self->{Ctl_Main_Nbk}->DeletePage(1);
Which produces a fatal, but unidentified, error although a few lines earlier
I have
Hi All,
Is there some way I can cycle through the object model of the object
we all know and love as '$self'?
I've tried using:
my %loc_array = $self;
while ( (my $k,my $v) = each %loc_array ) {
print "$k => $v\n";
}
But I just get one entry. Does anyone hav
Johan Vromans wrote:
>How does it look like? Wx crash? Perl-Wx crash? Perl crash?
Sorry, not helpful of me.
I'm running under Komodo 5 and I get a Perl crash. I get a windows
pop-up box which says words to the effect "Please notify Microsoft "
and the GUI closes back to Komodo. Komodo do
I just thought I'd pass the following on to you from the ActiveState mailing
list.
Wouldn't it be great to have wxPerl on PPM?
Regards
Steve
On Wed, 07 Oct 2009, Gabor Szabo wrote:
> According to http://ppm4.activestate.com/idx/WW...WX.html Wx.pm cannot
> build on any of the platforms ActivePe
Hi All,
I've just started converting my Windows development onto Kubuntu (I'm a very
new hand at Linux - measure it in days), but someone has pointed me at the
apt-get command. As it already has Perl on it, I'd be keen to use this core
installation.
So does anyone know the apt-get command to i
Hi Guys,
I'm still completely failing to get wxMediaCtrl and GStreamer to run under
Linux, so I'm trying different tacks.
I have found a piece of Perl code that runs GStreamer directly (see below)
and I wondered if this could be embedded in wxPerl. This is the point where
I get completely lost.
Hi Guys,
The list of files needed to GStreamer from wxMediaCtrl *or* Perl seems to
be:
gstreamer0.10-ffmpeg
libgstreamer0.10-0
libgstreamer-perl
libgstreamer-plugins-base0.10-0
gstreamer0.10-x
gstreamer0.10-plugins-good
gstreamer0.10-plugins-base
The following code then runs on Windows and Linux
>Care to put this on the wiki?
Done.
Regards
Steve
I forgot to reply to the group:
-Original Message-
From: Steve Cookson [mailto:steve.cook...@sca-uk.com]
Sent: 14 November 2009 08:23
To: 'Johan Vromans'
Subject: RE: wxMediaCtrl on Linux
>It seems that Fedora (F10, F11) provides a version of Wx that does not
>ha
Hi Guys,
Wow, it's already 2010 (for those of you who use the Gregorian calendar). I
hope you all had a great Christmas break and that this year turns out well
for you.
I'm trying to implement some WP functionality in wx. Really all I need to
do is to edit a letter. I've looked at the wxPerl d
>I don't know about th XML format, but here is how I get HTML from the
>widget:
> my $buffer = $richtext->GetBuffer;
> open(my $fh, '>', \my $html) || die 'cannot open';
> my $html_handler = Wx::RichTextHTMLHandler->new;
> $html_handler->SaveFile($buffer, $fh);
Hi Jiri
That looks great.
-Original Message-
From: Jiri Pavlovsky [mailto:j...@getnet.cz]
Sent: 03 January 2010 20:07
To: wxperl-users@perl.org
Subject: Re: wxRichTextCtrl
On 3.1.2010 22:57, Steve Cookson wrote:
>> I don't know about th XML format, but here is how I get HTML from the
>> widget:
&g
Well, it looks as though I should have used SetValue instead of SetBuffer,
but the crash is on the line before.
$html_handler->LoadFile($buffer, $fh );
But maybe the error is in the XML instead of the wxPerl syntax?
The XML is created by just saving the buffer in the sample application,
Hi All,
I'm looking at the WxRichTextCtrl buttons on:
http://docs.wxwidgets.org/stable/wx_wxrichtextctrloverview.html
and wondering how to implement them.
Does anyone know where the code is?
Have a good day.
Regards
Steve
<>
Hi All,
Does anyone know if Wx::RichTextPrinting has been implemented yet in wxP?
If not, what are the alternatives?
Thanks.
Regards
Steve
<>
>> Can you do a "LoadFile" too?
>Probably, but I did not get to it yet.
Hi Jiri,
I've tried:
line
#
53 my $HTML_handler = Wx::RichTextHTMLHandler->new;
54 open (my $fh, "LoadFile ($buffer, $fh);
57 $self->{rich_text_ctrl_1}->SetValue ($buffer );
Where I've just created output.ht
Ok, So here's the answers:
>I'm looking at the WxRichTextCtrl buttons on:
>http://docs.wxwidgets.org/stable/wx_wxrichtextctrloverview.html
>and wondering how to implement them.
>Does anyone know where the code is?
Thanks to the C++ wx-users group for this: it's in the wxWidgets
distribution,
Hi Guys,
Still trying to load from an XML or HTML file.
Here I have 2 pieces of code:
1 (see below) is the Perl file with Wx::RichTextHTMLHandler->LoadFile
2 (see below) is the HTML file I am trying to load (created by ->SaveFile)
The relevant piece of code is:
my $HTML_handler = Wx::R
Hi Guys,
Well here's my answer (thanks to an anonymous monk on perlmonks for pointing
me to the C++ code). Any comments welcome as always:
$HTMLHandler->LoadFile has continued to resist my attempts to make it work.
$XMLHandler->LoadFile will work like this:
my $XML_handler = Wx::RichTe
Hi all,
WxRichTextCtrl is quite a complex control with a lot of different methods
and properties. It took me quite a while to get any familiarity with it at
all.
I've put some of my test code on the wiki at:
http://wxperl.pvoice.org/w/index.php/WxRichTextCtrl
It's not complete, so any additi
Hi All,
I'm getting "unable to resolve overloaded method for
"Wx::RichTextCtrl::WriteImage" at
/home/steve/Documents/Endoscopia/RichText_Editor.pl line 506" from code:
sub on_click_insert_image{
my ($i_frame, $event) = @_;
my $file = Wx::FileSelector('Choose a media file');
Is Wx::Demo supposed to work under Linux? It looks very different from the
Windows version and although the 'make' went OK, the 'make test' gave me
hundreds of errors. However it does run. However on Windows it has three
tabs in the left-hand pane, whereas on Linux it only has one. There are a
Hi Guys,
Its not at all clear to me how to get data into Wx::PrintPreview (and I
expect Print too, when I get to that), I have pulled what I can out of the
Wx::Demo and I have constructed an event-handler as follows:
sub on_click_richtext_preview {
my( $this, $event ) = @_;
amount of errors from CPAN, and I was
pleasantly surprised when it worked.
Regards
Steve
-Original Message-
From: Gabor Szabo [mailto:szab...@gmail.com]
Sent: 31 March 2010 05:43
To: Steve Cookson
Cc: wxperl-users@perl.org
Subject: Re: wxPerl-0.26-samples in Linux
On Thu, Mar 25, 2010
Actually, I just noticed I get it on Windows too, but I get three tabs and
Wx::Locale works properly. The full Windows message is:
17:34:12: Warning: Skipping module 'Wx::DemoModules::wxHVScrolledWindow'
17:34:12: Warning: Base class package "Wx::PlHVScrolledWindow" is empty.
17:34:12: Warning:
1 - 100 of 482 matches
Mail list logo