wxperl is the module/library used to access the WxWidgets portable GUI classes.
Questions tagged [wxperl]
50 questions
12
votes
7 answers
Are there Perl GUI builders, especially for WxPerl?
Are there good GUI builder for Perl GUI libraries, especially for WxPerl?

Thor
- 201
- 2
- 6
11
votes
4 answers
How do I set a minimum window size in wxWidgets?
This is the hierarchy of widgets I've got:
Frame > wxBoxSizer > wxPanel > wxBoxSizer > wxFlexGridSizer (2 columns, 9 rows), with assorted form fields and buttons inside.
The first BoxSizer is to place the panel in, and the second is to make a border…

MaxVT
- 12,989
- 6
- 36
- 50
6
votes
1 answer
What to do when WxPerl class doesn't have some method?
I'm programming an application that uses WxPerl, but the Wx::Grid class is missing the method UseNativeColHeader. What can I do to call this method anyway?
What about event? The event EVT_GRID_COL_SORT is not implemented either in WxPerl. Is there a…

user4373782
- 113
- 4
5
votes
4 answers
Alien::wxWidgets install fails on OSX10.10
I'm trying to install Alien::wxWidgets version 0.67 with wxWidgets version 3.0.2, but no matter what I do, I get the following error:
checking if C compiler (clang -mmacosx-version-min=10.5) works with SDK/version options... configure: error: in…

Dávid Pásztor
- 51,403
- 9
- 85
- 116
5
votes
2 answers
installing wxPerl on strawberry
I am trying to install wxperl on strawberry. I can't install Alien::wxWidgets. I tried everything I can think of. Usually I get an error like this one:
Creating library file:…

mokko
- 186
- 9
4
votes
0 answers
Please explain Wx::Thread example
The documentation for Wx::Thread includes a small but instructive example of how to post an event from a child thread to a window in the main or parent thread.
What I cannot understand is how it can possibly be valid to refer to the file-scoped…

Sue D. Nymme
- 838
- 7
- 8
3
votes
1 answer
How do I pass additional arguments in wxperl EVT_BUTTON
I am trying to pass arguments to a perl subroutine which processes an wxPerl EVT_BUTTON event. I understand that when I use:
EVT_BUTTON($frame, $button, \&onClick);
I will have access to $frame and $button and its functions in onClick. However, I…

mephesis
- 115
- 8
3
votes
1 answer
Why doesn't my wxPerl application for Windows start?
I've developed an application with Strawberry Perl 5.8.9.4 using wxPerl. The application is compiled using:
wxpar -f Crypto -F Crypto -M Filter::Crypto::Decrypt --compress=9 --gui --icon=icon.ico --lib=./lib --module=App::Order --module=Wx…

Htbaa
- 2,319
- 18
- 28
3
votes
1 answer
Why doesn't wxPerl draw my wxStaticBitmap when I run the program from a Windows shortcut?
I've made a wxPerl application which presents just a simple frame which only contains a wxMenuBar, wxPanel, wxTextCtrl and a wxStaticBitmap. The development and deployment platform is Windows XP and beyond.
The image is added to the form like…

Htbaa
- 2,319
- 18
- 28
2
votes
2 answers
What does the qw(:everything) do on a use line in perl?
This is an embarrassing question to ask but why does this line work while the other doesn't?
Working line:
use strict;
use warning;
use Wx qw(:everything);
my $dialog = Wx::MessageDialog->new(
$self,
"About test\n" . "Version 0.01\n",
…

slm
- 15,396
- 12
- 109
- 124
2
votes
0 answers
wxPerl and PAR::Packer and missing dependencies
My application is made with wxPerl, and I make an executable with PAR::Packer. It works fine on my machines (macOS and Windows), but not on a machine without a Perl/wxPerl installation; in fact, it doesn't work on my machines either if I change the…

Patrik
- 321
- 1
- 8
2
votes
2 answers
Wxperl create widget but don't place it
How can I create a widget without it being placed on its parent?
Here's a minimal example.
package MyApp;
use strict;
use warnings;
use Wx;
use base 'Wx::App';
sub OnInit {
my ($self) = @_;
my $frame
= Wx::Frame->new( undef, -1,…

Patrik
- 321
- 1
- 8
2
votes
1 answer
Perl: Getting the geometry of a window with X11 WindowID
I'm using FVWM2, which allows me to send the current X11 WindowID to any script I like through window decoration bindings.
So a click might execute a CLI program in the following form:
bash# example.pl
In this case WindowID refers to an already…

Vorideo
- 19
- 1
2
votes
1 answer
Is it possible to use unicode or utf8 to drawtext in WxDC?
I use WxPerl and I would like to draw unicode or utf8 text.
Is that possible?
Currently, i have something like this:
$dc->DrawText( $linestr, $x, $y * $th ); but it seems to draw ascii like text only.
I found out that yes
$this->{Font} =…

Aftershock
- 5,205
- 4
- 51
- 64
2
votes
2 answers
How do I make wxPerl work in Perl 5.10 on Windows?
Though I've tried several ways, I'm unable to make WxPerl to work on Windows.
I tried with both ActivePerl and Strawberry Perl.
The error I get is:
Can't load 'C:/Perl/site/lib/auto/Wx/Wx.dll' for module Wx: load_file:Invalid access to memory…
wong