Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wx(3pm) [debian man page]

Wx(3pm) 						User Contributed Perl Documentation						   Wx(3pm)

NAME
Wx - interface to the wxWidgets cross-platform GUI toolkit SYNOPSIS
use Wx; my $app = Wx::SimpleApp->new; my $frame = Wx::Frame->new( undef, -1, 'Hello, world!' ); $frame->Show; $app->MainLoop; DESCRIPTION
The Wx module is a wrapper for the wxWidgets (formerly known as wxWindows) GUI toolkit. This module comes with extensive documentation in HTML format; you can download it from http://wxperl.sourceforge.net/ INSTALLATION
Please see docs/INSTALL.pod in source package. Windows XP look For standalone (packed using PAR, Perl2Exe, Perl2App, ...) applications to get Windows XP look, a file named "App.exe.manifest" (assuming the program is named "App.exe") and containing the text below must be placed in the same directory as the executable file. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity processorArchitecture="x86" version="5.1.0.0" type="win32" name="Controls" /> <description>Super wxPerl Application</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="x86" /> </dependentAssembly> </dependency> </assembly> Running on Mac OSX From version 0.98 wxPerl no longer needs to use the special startup executable 'wxperl' to run scripts on the Mac. The ordinary perl interpreter now works without problems. This is because wxPerl now contains code that brings the running application to the front and gives it the focus. In a syntax checking editor you may prevent Wx code from being given focus as the front process by setting an environment variable export WXPERL_OPTIONS=NO_MAC_SETFRONTPROCESS or $ENV{WXPERL_OPTIONS} = 'NO_MAC_SETFRONTPROCESS'; The code that makes the SetFrontProcess call is in Wx::Mini as Wx::MacSetFrontProcess(); so it is also straightforward to override this method if you wish. Finally, any code can force the running application to become the front process regardless of environment settings by calling the xs method directly. (Note the underscore in the method name). Wx::_MacSetFrontProcess(); AUTHOR
Mattia Barbon <mbarbon@cpan.org> LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-22 Wx(3pm)

Check Out this Related Man Page

Padre::Perl(3pm)					User Contributed Perl Documentation					  Padre::Perl(3pm)

NAME
Padre::Perl - A more nuanced "Where is Perl" module than Probe::Perl DESCRIPTION
Even though it has only had a single release, Probe::Perl is the "best practice" method for finding the current Perl interpreter, so that we can make a system call to a new instance of the same Perl environment. However, during the development of Padre we have found the feature set of Probe::Perl to be insufficient. "Padre::Perl" is an experimental attempt to improve on Probe::Perl and support a wider range of situations. The implementation is being contained to the Padre project until we have competently "solved" all of the problems that we care about. GUI vs Command Line On some operating systems, different Perl binaries need to be called based on whether the process will be executing in a graphical environment versus a command line environment. On Microsoft Windows perl.exe is the command line Perl binary and wperl.exe is the windowing Perl binary. On Mac OS X (Darwin) perl.exe is the command line Perl binary and wxPerl.exe is a wxWidgets-specific Perl binary. PAR Support PAR executables do not typically support re-invocation, and implementations that do are only a recent invention, and do not support the normal Perl flags. Once implemented, we may try to implement support for them here as well. FUNCTIONS
"perl" The "perl" function is equivalent to (and passes through to) the "find_perl_interpreter" method of Probe::Perl. It should be used when you simply need the "current" Perl executable and don't have any special needs. The other functions should only be used once you understand your needs in more detail. Returns the location of current perl executable, or "undef" if it cannot be found. "cperl" The "cperl" function is a Perl executable location function that specifically tries to find a command line Perl. In some situations you may critically need a command line Perl so that proper "STDIN", "STDOUT" and "STDERR" handles are available. Returns a path to a command line Perl, or "undef" if one cannot be found. "wxperl" The "wxperl" function is a Perl executable location function that specifically tries to find a windowing Perl for running wxWidgets applications. In some situations you may critically need a wxWidgets Perl so that a command line box is not show (Windows) or so that Wx starts up properly at all (Mac OS X). Returns a path to a Perl suitable for the execution of Wx-based applications, or "undef" if one cannot be found. COPYRIGHT &; LICENSE Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-06-27 Padre::Perl(3pm)
Man Page