Questions tagged [wxperl]

wxperl is the module/library used to access the WxWidgets portable GUI classes.

50 questions
1
vote
0 answers

Logging in WxPerl every other character is null

I'm trying to write a small Log::Any::Adapter for Wx logging, and for testing I'm using Wx's LogStderr class. My test fails, though, because the string printed to STDERR has every other character as a NULL. I figure that it's probably UTF-16le since…
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
1
vote
1 answer

How can I dynamically updatea StaticText label after a button click event in wxPerl?

I have a Static Text displaying the currently selected file name. I'd like it to update every time the user chooses a new file using the 'Select File' button. I've tried using the Update() method inside the EVT_BUTTON subroutine call but is not…
1
vote
3 answers

Where can I find a current wxPerl PPM?

On September 24, 2009 Sep 24, 2009 wxPerl 0.93 was released to CPAN. Does anyone know where I can get a current ppm version of wxPerl 0.93 for Active Perl 5.10 The repositories (besides activestate.com) I know and visited are: wxperl.co.uk (last…
lexu
  • 8,766
  • 5
  • 45
  • 63
1
vote
2 answers

How to clear and refresh a panel in Wx?

I'm building a news reader application and I have a wxScrolledWindow in which I show the news. However, I have categories and when one is clicked, I want to update this panel with the current categorie's news. I achieved that using DeleteChildren on…
user1120144
1
vote
2 answers

How to divide a wxPanel horizontally?

I'm building a layout for a console app and here's what I want to achieve. What I have so far is this. My main window is deriving from a wxFrame. I split the window using wxSplitterWindow into two windows : the one on the left - a wxTreeCtrl and the…
user1120144
1
vote
1 answer

Designing a TextCtrl which fills up the entire frame

I am programming with wxPerl and I was wondering how you would design it so that a textctrl, or really any component, would fill up the entire frame and resize with the window? So far my attempts at researching this problem have led me to believe…
daniel gratzer
  • 52,833
  • 11
  • 94
  • 134
0
votes
2 answers

Is there a way to uniquely style items in the wxChoice widget in wxPerl (WxWidgets)?

I'm trying to figure out if it's possible to style the items in a drop-down menu when I use the wxChoice widget. Best I can tell, it's not possible but I just wanted to ask the greater Perl community to make 100% sure that I was correct in my…
slm
  • 15,396
  • 12
  • 109
  • 124
0
votes
1 answer

Getting error Can't load '/usr/local/lib64/perl5/auto/Wx/Wx.so' for module Wx

I couldn't download Wx properly using cpan and kept getting an error so I tried to force-install it, now, when running: #!/usr/bin/perl -w use strict; use Wx; I get the following error: Can't load '/usr/local/lib64/perl5/auto/Wx/Wx.so' for module…
Sumito
  • 47
  • 4
0
votes
1 answer

How Do I add a linefeed in a Wx::textCtrl

I've edited RouMao's solution into my code sample below. according to the accepted answer to this question here on stackoverflow, I should be able to add additional lines to a Wx::TextCtrl by terminating the text appended with '\n'. my $t =…
lexu
  • 8,766
  • 5
  • 45
  • 63
0
votes
1 answer

wxPerl install on Mac

I've been able to install wxWidgets on my Mac and use wxPython just fine, but now that I'm trying to use Perl, I need to download wxPerl. I tried to install and the install failed, and I'm not sure what went wrong or how to fix it. Can you help?…
0
votes
1 answer

Unable to install WxPerl module

I am trying to install WxPerl in ActivePerl but the module just won't install. I am following installation guide here http://www.wxperl.it/p/download.html I'm on Windows 10 64 bit and using Activeperl Community Edition 5.26.0 64 bit I tried command…
Matt
  • 15
  • 4
0
votes
1 answer

wxLocale not working with PerlApp

When I run my wxperl app from the command line it works great but after using the PerlApp from: http://www.activestate.com/perl-dev-kit to create an executable I'm seeing the following debug alert (shown below) I've tried adding Locale for myFrame…
Paul
  • 11,671
  • 32
  • 91
  • 143
0
votes
1 answer

WxPerl make modal Frame

I'm trying create modal window (wxFrame) in perl with xwPerl library (and WxWidget 3.0.2). Reason is, that is important for me to code will interrupt after window will be showed, until user close it. I found…
stepan
  • 39
  • 4
0
votes
1 answer

WxWidget/WxPerl, more instances of WxApp, EVENT handling

I'm trying make a script, which create more then one simple window (it inherit from WxApp). Window contains only one button and handler for click EVENT. Problem is handling click event, when more then one window is exist. If exists only one instance…
stepan
  • 39
  • 4
0
votes
1 answer

wxPerl: add component which resizes automatically when parent frame gets resized

I am relatively new to Perl and I am using wxPerl to create a GUI application. Now, I want to add a Panel into a Frame, possibly using a sizer so that the panel resizes automatically as the frame gets resized. So here's what I got: (1) I have to use…
tonychow0929
  • 458
  • 4
  • 10