Hi,
In the very few WxPerl tutorials I found, I've seen the following example of
importing Wx constants:
use Wx qw(
wxDefaultPosition
wxDefaultSize
wxDefaultPosition
wxDefaultSize
#
);
Can you tell me if there is a mistake, or what's the reason of
Hi,
Can Alien::wxWidgets and WxPerl be compiled using an MS compiler (like VC6
or VC8)?
I think that doing so, it won't be necessary to include so many dlls in the
binary executable because they could be present on the target computers.
I've tried compiling/installing Alien::wxWidgets with
Hello,
I have a multiline text field with a text in it, and I want to allow the
users to double click a word and an event should be fired in that moment,
and then I want to be able to get the word that was clicked in the event
handler.
When the word is double-clicked, it is highlighted
Hello and I wish you a happy new year!
If I click in a multi line text control with the mouse, how can I find at
which position I have clicked on?
I've read about the text control object methods, but I couldn't find how to
do that.
Thank you.
Octavian
Hi,
Please tell me where can I found more information about the methods that can
be used for using a wxChoice widget.
I've seen that in the chm wxWidgets reference there are very few methods
described in the page about wxChoice.
And I want to know how can I get the text of the selected item,
Hi,
I want to make a TextCtrl widget and when I double click with the mouse
somewhere in the text it should get the whole word that was clicked.
I've done the following in the OnWidget_Click event handler:
my $text = $self-GetValue();
my ($result, $x, $y) =
Hi,
Does WxPerl have a method for making a default beep?
I need something like Win32::GUI::MessageBeep that can be used in a
Win32::GUI application.
Thank you.
Octavian
Hi,
Is it possible to change the foreground/background of some words from a text
from a TextCtrl control without re-writing the whole text?
I am thinking to change the background of the words which I move the mouse
cursor over, but if I would need to re-write the whole text, I think the
Hi,
I've discovered something very strange.
If I run the WxPerl executable created with PDK, no files are extracted in
the temp directory.
But if I right-click the file, chose Properties, and from the
compatibility tab I chose Win 95 or 98/Millenium, after running the
executable again, 10
Hi,
I want to use a ProgressDialog to show the progress of a file download and
database update.
The progress works well, however the ProgressDialog window is very
unresponsive because the program uses a single thread.
Is it possible to use POE::Loop::Wx for making the dialog window more
Ok, thanks.
I've finally used
Wx::SafeYield($Window);
in the loop, and now the window is just a little bit more responsive.
Octavian
- Original Message -
From: Mike Schroeder
To: Octavian Rasnita ; wxperl-users@perl.org
Sent: Sunday, February 10, 2008 6:34 PM
Subject: Re
Hi,
I've read the following in the chm docs of WxPerl:
wxToolBar::InsertTool
wxPerl note: This method is not implemented in wxPerl
But I've finally seen that it is available in WxPerl so I have an older chm
file.
Is there a newer one that's updated?
Thanks.
Octavian
From: Daniel [EMAIL PROTECTED]
Hi,
I don't know if there's a newer documentation, but I know there is a bug
in wxToolBar::InsertTool.
If you insert a tool, the toolbar changes its size to the width of the
tools. That means, it has no longer the width of the window and that
doesn't look
Hi,
Sorry for my previous message.
I've forgotten to add a -new in order to write:
Wx::Sound-new(file.wav)-Play();
Octavian
Hi,
I am trying to print a text in the status bar for each menu item, including
the menu items that have submenus, but for those items I can't do it.
For the common menu items (button, radio or checkboxes), the text is printed
well in the status bar.
I have tried something like:
#define the
From: bungsuputra linan [EMAIL PROTECTED]
Hi Octavian Rasnita,
I am not sure whether you have tried this, but it works fine in my
script. I mean the text is printed in the status bar for menus with
submenus. I hope I get what you meant in your previous email correctly.
self-{OptionsMenu
Hi,
Is it possible to use PAR under Windows to create a .par file with a program
that uses WxPerl that can be ran under Linux?
Thanks.
Octavian
Hi,
I want to create a readonly multiline rich text control that has the
wxTE_PROCESS_ENTER style, so I've tried to use
Wx::TextCtrl with the wxTE_RICH2 style.
I need to make some format settings in the control, like the font, the
color, background-color, boldness and other things like that
Hi,
Is it possible to exclude the dll files which are needed by WxPerl to run in
a PDK - generated executable?
(And put them separately in the same dir with the executable)
Thanks.
Octavian
it helps.
Regards,
bungsu
On Fri, 2008-03-21 at 13:48 +0200, Octavian Rasnita wrote:
Hi,
Is it possible to exclude the dll files which are needed by WxPerl to run
in
a PDK - generated executable?
(And put them separately in the same dir with the executable)
Thanks.
Octavian
- Original Message -
From: Mattia Barbon [EMAIL PROTECTED]
To: Octavian Rasnita [EMAIL PROTECTED]
Cc: wxperl-users@perl.org
Sent: Friday, March 21, 2008 7:15 PM
Subject: Re: wxTextAttr
Octavian Rasnita wrote:
Hi Octavian,
I want to create a readonly multiline rich text control
Hi Mattia and all,
I've finally found how to set the font and its attributes in a rich
TextCtrl.
The single thing I couldn't find how to do, is to set superscripts and
subscripts (those small letters up or down the line of text).
If you know how to do this, or at least if you know that it
Hi,
I've asked on another list regarding the use of superscripts and subscripts
in a rich text TextCtrl widget, and here below is the answer I received.
I've also tried doing:
use Wx qw(wxTEXT_ATTR_EFFECT_SUBSCRIPT);
but it gave an error telling that this constant isn't exported by the Wx
in Wx::TextAttr.
Can I do with other methods what that subroutine is doing in order to create
a subscript style?
Thank you.
Octavian
- Original Message -
From: Mark Dootson [EMAIL PROTECTED]
To: Octavian Rasnita [EMAIL PROTECTED]
Cc: wxperl-users@perl.org
Sent: Tuesday, March 25, 2008
Ok, thank you. I will wait until then.
But what exactly is Wx::TextAttrEx? A kind of extension of Wx::TextAttr that
can be used wherever Wx::TextAttr is used?
Thanks.
Octavian
- Original Message -
From: Mark Dootson [EMAIL PROTECTED]
To: Octavian Rasnita [EMAIL PROTECTED]
Cc
with some styles of wxRichTextAttr?
Thank you.
Octavian
- Original Message -
From: Mattia Barbon [EMAIL PROTECTED]
To: Octavian Rasnita [EMAIL PROTECTED]
Cc: Mark Dootson [EMAIL PROTECTED]; wxperl-users@perl.org
Sent: Wednesday, March 26, 2008 12:19 AM
Subject: Re: superscript/subscript
Hi Mark,
Thank you for your samples. They help me also.
But I want to ask, if we use Locale, shouldn't we use Ctrl as usually,
then the module would need to translate it to another string, based on the
language chosen (maybe from a configuration file)?
I've seen that Strg is hard coded in the
Hi,
I've read
http://search.cpan.org/~mbarbon/Wx-0.82/lib/Wx/Thread.pod
and I've started to create a test program (that I enclosed below), but as
the POD docs from the URL above doesn't include a working example, I don't
understand how to make it really work.
I've seen in the POD:
sub done
Hi,
How can I handle the event generated when I close the window with alt+F4?
The app uses threads and I want to kill the threads when I close the window and
do other cleaning jobs.
Thank you.
Octavian
Hi,
I have 2 questions regarding the use of ActiveX under WxPerl.
I've seen that Wx::ActiveX is much more developed than Win32::GUI::AxWindow.
With Win32::GUI::AxWindow it was possible to display a page created by the
program, and not only to view a remote URL or external file. Is this
Hi,
See my answers below.
thanks for your time and detailed report.
You're welcome. And, congratulations for your work.
6. In the Edit menu, you should add the hotkeys for Undo, redo... because at
least Control+Z works, but this is not visible from the menu.
I am using
EVT_MENU(
at 12:36 PM, Octavian Rasnita [EMAIL PROTECTED] wrote:
Hi,
I use Win XP Pro SP3, Active Perl 5.8.8.
Here is my feedback:
1. I think you should specify that the program requires
Wx::Perl::ProcessStream
After perl Makefile.pl it didn't tell me that I don't have that module
installed
Hi,
I've seen that an event handler always receives a $event as a second
parameter and that this event can be used to do many methods, depending on
the event that triggered that event handler.
Where can I find all the methods which I can use for each event type?
(Please just tell me where to
From: Huub Peters [EMAIL PROTECTED]
What platform?
- On Windows using the ppm's from wxperl.co.uk it should work out of
the box (using MediaPlayer).
Sorry for the dumb question. Yes I use Windows and now it works.
I've tried to use Wx::MediaCtrl instead of use Wx::Media.
Octavian
Hi,
I am trying to create a ListView in report mode, and I want the columns to
have a width that can hold the biggest string from each column.
I have read that by default this happends when I use the -1 width, but all
the columns are created smaller than that and the text from each column is
Hi,
I have 2 buttons on a Wx::Dialog window, and I want one of them to be
pressed when I hit enter on a text field, and the other one to be pressed
when I press the escape key.
I have read on the manual page of Wx::Dialog that I can use wxOK, or
wxID_OK, wxCANCEL, or wxID_CANCEL (I didn't
Hi,
I've seen that WxPerl uses gettext as the base for Wx::Locale, just like
Catalyst framework uses gettext in Catalyst::Plugin::I18N.
In Catalyst I can do:
t(The name of the city is [_1], $city);
or
t(The cities are [_1], [_2] and [_3], [$city1, $city2, $city3]);
This is very convenient,
Message -
From: Brian Donorfio [EMAIL PROTECTED]
To: Octavian Rasnita [EMAIL PROTECTED]
Cc: wxperl-users@perl.org
Sent: Thursday, August 21, 2008 4:16 PM
Subject: Re: getting the values from Wx::Dialog
On Sun, Aug 17, 2008 at 10:03 AM, Octavian Rasnita [EMAIL PROTECTED]
wrote:
Hi,
I need
From: Mattia Barbon [EMAIL PROTECTED]
Octavian Rasnita wrote:
I also asked on another mailing list, and a list member told me:
When you were compiling wxWidgets, did you enable the accessibility
flag? You can do this in one of two ways.
1. remove the comment that says enable accessibility
Hi Huub,
From: Huub Peters [EMAIL PROTECTED] Octavian Rasnita wrote:
Hi,
I try to close the aplication using the system tray but anything I do, it
doesn't seem to work.
I put the sample app I've made in this message below.
The problem is that when I click on the tray icon, instead
Hi,
My program uses an internal web server which is ran in a separate thread and
when a certain address is accessed, I want it to display a certain
Wx::Dialog.
I've seen that I can display with no problems a Wx::MessageBox, but I can't
display well a Wx::Dialog because it freezes the
Ctrl+TAB and Ctrl-TAB work, but maybe you have a control in your app that
stills this hotkey (like a Wx::Notebook for example).
Octavian
- Original Message -
From: Gabor Szabo [EMAIL PROTECTED]
To: wxperlusers wxperl-users@perl.org
Sent: Thursday, August 28, 2008 12:08 PM
Subject:
Hi,
I have tried to use the following method for disallowing more than one
instance of the application to run:
sub OnInit {
#...
$self-{instance_checker} = Wx::SingleInstanceChecker-new();
if ($self-{instance_checker}-IsAnotherRunning) {
return 0;
}
}
But it doesn't work and I can open more
Hi,
I've seen that if I try to create a Wx::Dialog from a secondary thread, it
breaks the app, but if I create a Wx::MessageBox it works fine.
So I tried to use a Wx::GetMultipleChoices. It displays well the dialog and
it returns well the results, but if another thread tries to update the main
.
Octavian
- Original Message -
From: bungsuputra linan [EMAIL PROTECTED]
To: wxperl-users wxperl-users@perl.org
Sent: Friday, August 29, 2008 9:38 AM
Subject: Re: strange error
Hi Octavian Rasnita,
I usually use MessageDialog instead of MessageBox for similar case.
So, my
Hi Mattia,
What would be the advantage after this change?
I often need to use
EVT_BUTTON( $self, $button, sub { $_[0]-do_foo( $_[1] ) } );
...just because I need to pass some more parameters to the do_foo
subroutine/method.
Would it be easier to pass parameters from now on somehow?
If
Hi,
I've found the following in Wx::Thread:
use threads;
use threads::shared;
use Wx;
my $DONE_EVENT : shared = Wx::NewEventType;
my $worker = threads-create( \work );
# create frames, etc
my $frame = Wx::Frame-new( ... );
EVT_COMMAND( $frame, -1,
From: Gabor Szabo [EMAIL PROTECTED]
There was a recent thread on PerlMonks with the above title
where I suggested the use of wxPerl.
http://www.perlmonks.org/?node_id=722367
I wonder what is really the issue?
How can one make sure that the application s/he is writing
has the accessibility
From: bungsuputra linan [EMAIL PROTECTED]
Yes, I think threads really tend to use more and more memory. I have an
application, when it runs, it takes 60 MB of memory, and a simple thread
to check update increases the memory usage to 90 MB. If the user checks
update once again, it increases to
From: Mike Schroeder [EMAIL PROTECTED]
I wonder what is the most complex app out there (free or commercial)
written in wxPerl?
I'm not sure if we are the largest/most complicated wxPerl app out there
or
not, but we must be up there...
Is the source code of your app public?
I think we are
From: Gabor Szabo [EMAIL PROTECTED]
Padre has a plug-in that can open a page in a web browser:
http://search.cpan.org/dist/Padre-Plugin-ViewInBrowser/
I wonder if there is better way to do it especially from wx?
Try:
Wx::LaunchDefaultBrowser($url);
Octavian
From: herbert breunung [EMAIL PROTECTED]
Dear List Member,
I'm very pleased to announce Kephra 0.4
Congratulations for the program!
If it helps you, I have a few things to report after a very short test.
I've seen that I can't change the active document using the keyboard only
because
Hi,
I've just installed the editor Padre using cpan, and I have tried to run the
following script:
use utf8;
binmode STDOUT, :utf8;
print ţâţă de mâţă;
#But when running the program with F5 it prints:
ĹŁĂ˘ĹŁÄ de mâţÄ
...instead of those UTF-8 chars.
Can I do something to make it
Hi,
I have tried to run the following test program with Padre in order to see if
the lines are printed on the screen immediately:
$|++;
while (1) {
print ok\n;
sleep 1;
}
The lines are printed immediately on the screen as they should, but the
problem is that after I have stopped the
From: Roode, Eric ero...@barrack.com
People always rave about wxPython. What's lacking in Perl's wx
implementation?
Yes, why is it considered normal to write a GUI app in python, but
people look at you weird when you suggest doing a GUI app in Perl?
Perl is great for database access and
From: Steffen Mueller nj88ud...@sneakemail.com
Anyhow. When I wrote a lengthy post on use.perl.org about Perl threads,
it was brought to my attention that very capable people are working on
making Coros work preemptively. That would -- as far as I can tell --
effectively give use Python-like
Hi,
I've seen that Padre can't be installed under ActivePerl 5.10.1 using cpan, so
I've tried to install it from WxPerl repository using:
C:\Documents and Settings\Octavianppm s Padre
...
3: Padre
Perl Application Development and Refactoring Environment
Version: 0.56
Repo: wxperl
C:\Documents
Hi Mark,
From: Mark Dootson mark.doot...@znix.com
Hi,
I tested ActivePerl 1007 Padre install and it seemed to work OK.
Perhaps the repository needs re-sync
ppm repo sync --force wxperl
ppm s Padre
Regards
Mark
Thank you. I was able to install Padre.
Unfortunately when I try
.
Octavian
- Original Message -
From: Mark Dootson mark.doot...@znix.com
To: Octavian Rasnita orasn...@gmail.com
Cc: wxperl-users@perl.org
Sent: Tuesday, April 27, 2010 3:16 PM
Subject: Re: Padre can't be installed from WxPerl repository?
Octavian,
I just tried
cpan Padre
Hi,
I've just installed the latest version of Wx under Windows XP Pro:
ppm s Wx
...
3: Wx
Interface to the wxWidgets cross-platform GUI toolkit
Version: 0.9702
Repo: wxperl
C:\Documents and Settings\Octavianppm inst 3
Downloading Wx-0.9702...done
Unpacking Wx-0.9702...done
Generating HTML for
Hi,
I found that Wx gives some errors after I installed it with ppm from WxPerl
repository.
I've seen that it required the latest version of alien::wxWIDGETS. After I
installed this module with ppm, Wx started to work fine.
It could be helpful to put a dependency on the latest version of
Hi,
On Cava's web site I read:
Cava Packager provides a packaging solution for applications developed in
Perl on the Windows, Linux and MacOSX platforms..
So it seems that it should work for Mac and Linux also...
I have also read:
...At your option you can 'encrypt' the source code of
Limited success. Ended up building an '.App' package with
shell script - worked fine
OSX comes with wxperl installed, by the way.
On 8/3/2010 4:08 AM, Octavian Rasnita wrote:
Thank you for clarifications.
I haven't even tried to use perlapp with Strawberry because I thought
From: Mattia Barbon mattia.bar...@libero.it
Octavian Rasnita wrote:
Hi,
Thank you for this solution. It works. However, I just found a bug in
another program I made that was caused by re-blessing an object and I am
afraid that this re-blessing might cause problems in the future and I
Hi,
Can WxPerl be used with Moose?
I have tried the following test program:
package WxTrial;
use Moose;
use Wx;
extends 'Wx::SimpleApp';
1;
package main;
#my $t = WxTrial-new;
my $t = WxTrial-new(foo = bar);
The program gives the following error if I use it with the parameter foo =
bar:
In that case it might be impossible.
It may be like when you turn off the computer display and start clicking
with the mouse.
The computer doesn't know if the display is on or off so it reacts to the
clicks.
But if that touch pad works that way and doesn't know when the display is
turned
Hi,
The programs created with Wx don't need to use Wx::Perl::Packager and the
script wxpdk for creating PDK executables for Windows anymore?
I have a problem with a program that uses Pod::Constants but I can't add it to
the executable even though I've tried with --add Pod::Constants parameter.
Hi,
I have tried:
package Package::Name;
use strict;
use warnings;
use Wx ':everything';
use parent 'Wx::Frame';
It gives the following error:
Can't locate Wx/Frame.pm in @INC (@INC contains: E:/usr/site/lib E:/usr/lib .)
at E:/usr/lib/parent.pm line 20.
BEGIN failed--compilation aborted at
From: Johan Vromans jvrom...@squirrel.nl
Octavian Rasnita orasn...@gmail.com writes:
use parent 'Wx::Frame';
It gives the following error:
Can't locate Wx/Frame.pm in @INC (@INC contains: E:/usr/site/lib E:/usr/lib
.) at E:/usr/lib/parent.pm line 20.
BEGIN failed--compilation aborted
Hi,
In an event handler of a text field I try to get and print (for testing) the
key code and the modifiers using something like:
sub OnKeyCombinations {
my ($key_combination, $event) = @_;
my $key = $event-GetKeyCode;
my $modifiers = $event-GetModifiers;
$key_combination-SetValue(key:
Hi,
I have created a frame with WxPerl and I want to open it as a modal window. Is
it possible with WxPerl?
Can I open it somehow as a dialog window that can be opened in modal mode?
Thanks.
Octavian
Hi,
I have made a program that translates the text using Google's translation
services and it also uses Wx::Locale.
If the interface of the program is in English, the program works fine. If I
change the language_id of the current language of the interface in the config
file to 155 (Romanian),
Hi,
Here below I added a sample program that gives an error if WxPerl, LWP and
version.pm are used together.
The program works fine if either
- With Wx::Locale I use the language id 56 (for English) instead of 155 (for
Romanian) or
- instead of use version; I use use version();.
The first
To: Octavian Rasnita orasn...@gmail.com
Cc: wxperl-users@perl.org; jpeac...@cpan.org
Sent: Sunday, December 05, 2010 5:19 PM
Subject: Re: Error when LWP, WxPerl and version.pm are used together
Hi Octavian,
I think you can 'fix' this by an explicit 'use' for IO::Socket.
e.g.
use IO::Socket
Hi and I wish you a happy new year,
Regarding the detection of hotkeys in a WxPerl application, please tell me
which keys can be detected.
I have seen that I can't detect when the Alt key is pressed.
I am interested which of the following keys can be detected when they are
pressed together
Hi,
I have a status bar with 2 fields and I want to add a Wx::Gauge progress bar in
the second field after pressing a button (in the click event of that button).
I have read that
It is possible to create controls and other windows on the status bar.
Position these windows from an OnSize event
Hi,
I have tried to define an accelerator for a button, then I've seen that the
accelerator for menu items work on more platforms so I've tried to define an
accelerator for a menu item, but it still doesn't work.
I've defined the menu item:
$self-{FileStop} = $self-{FileMenu}-Append(-1,
From: Johan Vromans jvrom...@squirrel.nl
Octavian Rasnita orasn...@gmail.com writes:
Hi,
I have tried to define an accelerator for a button, then I've seen that
the accelerator for menu items work on more platforms so I've tried to
define an accelerator for a menu item, but it still doesn't
Hi,
I thought that if I define an EVT_CHAR event handler for a form is enough, and
that event will appear each time a key is pressed, no matter which control on
that form has the focus:
EVT_CHAR($self, \OnChar);
sub OnChar {
my ( $self, $event ) = @_;
die OnChar;
}
But if there are
From: Mattia Barbon mattia.bar...@libero.it
On 17/03/11 20.34, Octavian Rasnita wrote:
Hi,
I thought that if I define an EVT_CHAR event handler for a form is enough,
and that event will appear each time a key is pressed, no matter which
control on that form has the focus
Hi,
Wx::AcceleratorTable doesn't handle the Escape key under Windows, so an
EVT_CHAR event must be defined for every form field.
But I've seen that the event EVT_CHAR is not handled by all form objects, for
example the buttons doesn't handle it.
Is there another way to define the Escape key
From: Jon Aykroyd three1...@gmail.com
Hal,
I know this is a wxperl group, but hasn't you given any thought to a web
basted application? That way the customer doesn't have to download a client
for their computer, and you only have to maintain one code base, not to
mention the inherent
From: jeff j...@roqc.no
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
Can it create packages for all platforms under a certain
Hi Mark,
Why is wxTAB_TRAVERSAL needed in a panel?
Tabbing from a field to the previous/next by using the shift+tab/tab keys were
possible in non-dialog windows when using a panel.
Should the wxTAB_TRAVERSAL style be used for beeing able to do this, and the
previous way was just a helpful
OK, but does this mean that if we use some styles for a certain control, we
should also specify explicitly the default styles because otherwise they
won't be used as a default?
--Octavian
- Original Message -
From: Mark Dootson mark.doot...@znix.com
To: Octavian Rasnita orasn
Hi,
I have a strange problem with a WxPerl-based program I made a few years ago.
No matter if I run it with Perl directly or from a perlapp package, all the
controls and menus it uses show and work fine, but 2 multiline fields don't
work nor show well.
Actually I don't know how they show, but
Hi,
I read that Citrus Perl is targetted for creating desktop apps for Win and Mac.
Does anyone know if it is also possible to use Citrus Perl for creating ActiveX
COM servers with it? (like with ActiveState's perlctrl?)
Thanks.
Octavian
Hi,
Is it possible to install WxPerl 0.9701 under Windows using ppm?
The latest versions of WxPerl (0.9901) installed from WxPerl repository
doesn't work well with ActivePerl 5.10 because the multiline text fields
appear as password text fields, and I need to use ActivePerl 5.10.
The latest
Hi Mark,
From: Mark Dootson mark.doot...@znix.com
Subject: Re: installing an older version of WxPerl?
Hi,
On 03/04/2012 19:38, Octavian Rasnita wrote:
Hi,
Is it possible to install WxPerl 0.9701 under Windows using ppm?
The latest versions of WxPerl (0.9901) installed from WxPerl
From: Waldemar Biernacki w...@sao.pl
My opinion is very similar to that of Sergei's.
I trace the list for few years but use Prima library:
1. Prima is very easy installable in Windows and Linux
2. Prima has very good examples,
3. Prima has quite good pdf documantation,
4. and has very perlish
Hi Herbert,
Talking about modern Perl, I think it could be useful to see examples of
using WxPerl with Moose/Moo.
Also, maybe even more useful could be some examples of using WxPerl to
create multi threading applications (because this is often needed for
desktop apps).
Another helpful
Hi Waldemar,
Unfortunately it is not possible because Win32::GUI and WxPerl have totally
different interfaces.
So you should need to totally replace the part of the program that draws the
GUI.
--Octavian
- Original Message -
From: Waldemar Biernacki w...@sao.pl
To:
Hi,
I am trying to display UTF-8 text in a richtext field using the following
code:
my $font = Wx::Font-new( $font_size, wxFONTFAMILY_SWISS,
wxFONTSTYLE_NORMAL,
wxFONTWEIGHT_NORMAL, 0, Verdana, wxFONTENCODING_UTF8 );
But when I run the program, it appears a nice window with the
Hi,
I have a text field defined as:
$self-{defs} = Wx::TextCtrl-new(
$self-{panel},
-1,
,
wxDefaultPosition,
[ 500, 400 ],
wxTE_MULTILINE | wxTE_READONLY | wxVSCROLL | wxTE_PROCESS_ENTER |
wxTE_RICH2
);
And I am trying to set a font for
Hi Mark,
Thank you for this great explanation. Much clearer than other
documentations.
--Octavian
- Original Message -
From: Mark Dootson mark.doot...@znix.com
To: steveco.1...@gmail.com; wxperl-users@perl.org
Sent: Monday, April 29, 2013 4:32 PM
Subject: Re: Can we print UTF-8
Hi Mark,
I tried your suggestion and I removed the constant wxVSCROLL from the
attributes of Wx::TextCtrl constructor, but the UTF-8 encoded chars still
appear as squares.
I use Windows XP Pro and ActivePerl 5.14.2.
(I need to use ActivePerl and not another distribution because I need to
To: Octavian Rasnita orasn...@gmail.com
Cc: steveco.1...@gmail.com; wxperl-users@perl.org
Sent: Tuesday, April 30, 2013 10:43 PM
Subject: Re: Can we print UTF-8 chars in Wx::TextCtrl fields?
Hi,
Comment out the line
$text = decode('utf8', $text );
you do not need it.
Change the font name requested
range of glyphs available so this isn't an issue.
Unless, strangely, you force 'Verdana' which seems to be the font
Microsoft forgot.
Regards
Mark
On 01/05/2013 17:35, Mark Dootson wrote:
Hi,
On 01/05/2013 15:21, Octavian Rasnita wrote:
Thank you Mark! Now the chars are displayed fine.
Too
From: Mark Dootson mark.doot...@znix.com
Hi,
On 02/05/2013 00:17, Steve Cookson wrote:
Or just
sub libDecode ($$){
return decode(@_);
}
At least all the things that might go wrong will all be here.
You're unduly worried ( probably my fault ).
my $string = decode($encoding,
Hi,
I read something about the free license of using Cava, but I didn't
understand if it is open source also and I didn't find its source code.
I am interested in its source because I am trying to find if I can do
something to make it accessible for Orca screen reader under Linux.
Seems that
1 - 100 of 102 matches
Mail list logo