Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Prima - nicer printing with margins and page numbers April 03, 2014
Octocat-spinner-32 examples - add rubberband example April 01, 2014
Octocat-spinner-32 img explain cm_study_palette incomments; also retab April 16, 2014
Octocat-spinner-32 include - modernize WM interface: related to but #90269, rely on WMs to January 20, 2014
Octocat-spinner-32 pod - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 test - add Application::get_monitor_rects October 28, 2013
Octocat-spinner-32 unix - typo fix April 16, 2014
Octocat-spinner-32 utils
Octocat-spinner-32 win32 - add Application::get_monitor_rects October 28, 2013
Octocat-spinner-32 .gitignore gitignore MYMETA.json September 12, 2013
Octocat-spinner-32 .travis.yml - add travis-ci handle February 28, 2012
Octocat-spinner-32 AbstractMenu.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 AbstractMenu.cls
Octocat-spinner-32 AccelTable.c - Remove dependency on the only external variable Prima had, August 09, 2007
Octocat-spinner-32 AccelTable.cls - Update the copyright year in the header statements May 14, 2002
Octocat-spinner-32 Application.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Application.cls - add Application::get_monitor_rects October 28, 2013
Octocat-spinner-32 Changes - v1.38 April 01, 2014
Octocat-spinner-32 Clipboard.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Clipboard.cls - fix to a very early design flaw, where the following code October 31, 2002
Octocat-spinner-32 Component.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Component.cls
Octocat-spinner-32 Copying - Update the copyright year in the header statements May 14, 2002
Octocat-spinner-32 DeviceBitmap.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 DeviceBitmap.cls - Update the copyright year in the header statements May 14, 2002
Octocat-spinner-32 Drawable.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Drawable.cls - remove LENGTH parameter from the Drawable methods text_out, March 30, 2005
Octocat-spinner-32 File.c - compile on strawberry 64 bit January 17, 2011
Octocat-spinner-32 File.cls - compile on strawberry 64 bit January 17, 2011
Octocat-spinner-32 Icon.c - kill many warnings appeared in 5.10 April 28, 2008
Octocat-spinner-32 Icon.cls - add am::MaskIndex for mask icon generation based on April 20, 2008
Octocat-spinner-32 Image.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Image.cls - compile on strawberry 64 bit January 17, 2011
Octocat-spinner-32 MANIFEST - s/HISTORY/Changes/ February 18, 2014
Octocat-spinner-32 Makefile.PL - fixes for strawberry 5.20 by kmx - thank you! April 16, 2014
Octocat-spinner-32 Makefile_old.PL - rewrite Makefile.PL with ExtUtils::MakeMaker August 11, 2011
Octocat-spinner-32 Menu.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Menu.cls - fix to a very early design flaw, where the following code October 31, 2002
Octocat-spinner-32 Object.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Object.cls - remove Object::can as it clashes with UNIVERSAL::can(PACKAGE) July 22, 2012
Octocat-spinner-32 Popup.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Popup.cls - Update the copyright year in the header statements May 14, 2002
Octocat-spinner-32 Prima.pm - v1.38 April 01, 2014
Octocat-spinner-32 Printer.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Printer.cls - implement interface to printer device-specific options, January 06, 2006
Octocat-spinner-32 README
Octocat-spinner-32 Timer.c
Octocat-spinner-32 Timer.cls - fix to a very early design flaw, where the following code October 31, 2002
Octocat-spinner-32 Types.cls - Font::direction is now double, in degrees, in contrast as it October 25, 2007
Octocat-spinner-32 Utils.c - compile under 5.13 - fix fails like s/sv_undef/PL_sv_undef/ ( thank… March 26, 2011
Octocat-spinner-32 Utils.cls - Update the copyright year in the header statements May 14, 2002
Octocat-spinner-32 Widget.c - better algorithm for centering windows in multi-monitor setup February 18, 2014
Octocat-spinner-32 Widget.cls
Octocat-spinner-32 Widget_geometry.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Window.c - remove annoying 'rtcXXX' from warn/croak messages February 18, 2014
Octocat-spinner-32 Window.cls - add Window::mainWindow boolean property October 19, 2011
Octocat-spinner-32 ms_install.pl - typo fix December 20, 2013
Octocat-spinner-32 primguts.c - register ps:: constants properly October 23, 2013
Octocat-spinner-32 test.pl - die when fail October 05, 2007
README
DESCRIPTION
===========

PRIMA is a general purpose extensible graphical user interface toolkit with a
rich set of standard widgets and an emphasis on 2D image processing tasks. A
Perl program using PRIMA looks and behaves identically on X11 and Win32.

PREREQUISITES
=============

Prima can use several graphic libraries to handle image files.  Compiling Prima
with at least one library, preferably for GIF files is strongly recommended,
because internal library images are stored in GIFs. Support for the following
libraries can be compiled in on all platforms:

   - libXpm
   - libpng
   - libjpeg
   - libungif
   - libtiff
   - libX11  - support for native X11 bitmap files

For Win32, CPAN contains binary distributions that can
be installed just for this purpose:

  http://search.cpan.org/~karasik/Prima-codecs-win32/
  http://search.cpan.org/~karasik/Prima-codecs-win64/

it should work for all MSVC and GCC compilers and for native,
cygwin, and mingw/strawberry perl runtimes.

SOURCE DISTRIBUTION INSTALLATION
================================

Create a makefile by running Makefile.PL using perl and then run make ( or
gmake, or nmake for Win32):

    perl Makefile.PL
    make
    make test
    make install

If 'perl Makefile.PL' fails, the compilation history along with errors can be
found in makefile.log. 

If make fails with message

** No image codecs found

that means you don't have image libraries that Prima supports in your path.
See PREREQUISITES section.

If some of the required libraries or include files can not be found,
INC=-I/some/include and LIBS=-L/some/lib semantics should be used to tell
Makefile.PL about these. Check ExtUtils::MakeMaker for more.

GTK2
----

Prima can be compiled width GTK2 on unix systems. To do so run

    perl Makefile.PL WITH_GTK2=1

If successful, Prima will display GTK file dialogs. 

BINARY DISTRIBUTION INSTALLATION
================================

Available only for MSWin32. Please use installation from source for
the other platforms.

To install the toolkit from the binary distribution run 

   perl ms_install.pl

You have to patch Prima::Config.pm manually if you need to compile
prima-dependent modules.

USAGE EXAMPLES
==============

Try running the toolkit examples, by default installed in
INSTALLSITEARCH/Prima/examples directory ( find it by running perl
-V:installsitearch ). All examples and programs included into the distribution
can be run either by their name or with perl as argument - for example,
..../generic or perl ..../generic .  ( perl ..../generic.bat for win32 )


Typical code starts with

   use Prima qw(Application);

and ends with
   
   run Prima;

which is an event loop call. Start from the following code:

   use Prima qw(Application Buttons);

   new Prima::MainWindow(
      text     => 'Hello world!',
      size     => [ 200, 200],
   )-> insert( Button =>
      centered => 1,
      text     => 'Hello world!',
      onClick  => sub { $::application-> close },
   );

   run Prima;

Or, alternatively, start the VB program, which is the toolkit visual builder. 

MORE INFORMATION
================

The toolkit contains set of POD files describing its features, and the
programming interfaces.  Run 'podview Prima' or 'perldoc Prima' command to
start with the main manual page.

Visit http://www.prima.eu.org/ for the recent versions of the toolkit. You can
use cvs update feature to keep in touch. The mailing list on the toolkit is
available, you can ask questions there. See the Prima homepage for details.

COPYRIGHT
=========

(c) 1997-2003 The Protein Laboratory, University of Copenhagen

AUTHORS
=======

Dmitry Karasik <dmitry@karasik.eu.org>
Anton Berezin  <tobez@tobez.org>
Vadim Belman   <voland@lflat.org>

CREDITS
=======

David Scott
Teo Sankaro
Kai Fiebach
Johannes Blankenstein
Mike Castle
H.Merijn Brand
Richard Morgan
Kevin Ryde
Chris Marshall
Slaven Rezic
Waldemar Biernacki
Andreas Hernitscheck
David Mertens
Teo Sankaro
Gabor Szabo
Fabio D'Alfonso
Rob "Sisyphus"
Chris Marshall
Reini Urban
Nadim Khemir
Vikas N Kumar
Something went wrong with that request. Please try again.