Sincethe mid-1990s we have delivered innovations, primarily in Digitisation and Document Analysis and Recognition, earning PRImA significant academic standing and are in use in industry and other sectors.
Projects ranging from the analysis and recognition of historical documents to the analysis of web documents have been funded by public bodies and Industry. Research actively continues in the challenging field of the analysis and recognition of degraded historical documents.
Prima is a classic 2D GUI toolkit that works under Windows and X11 environments. The toolkit features a rich widget library, extensive 2D graphic support, PDF generation, modern Unicode text input and output, and supports a wide set of image formats. Additionally, the RAD-style Visual Builder and POD viewer are included. The toolkit can interoperate with other popular event loop libraries.
The toolkit is built with a combination of two basic sets of classes - core and external. The core classes are coded in C and form a baseline for every Prima object written in Perl. The usage of C is possible together with the toolkit; however, its full power is revealed in the Perl domain. The external classes present an easily expandable set of widgets, written entirely in Perl and communicating with the system using Prima library calls.
code; however, effective programming requires the usage of the other modules, for example, Prima::Buttons, which contains various button widgets. The Prima.pm module can be invoked together with a list of such modules, which makes the construction
code and requires a Prima::Application object to be created beforehand. Invoking the Prima::Application standard module is one of the possible ways to create an application object. The program usually terminates after the event loop is finished.
onXxxx are special properties that describe events that can be used together with the new/create syntax, and are additive when the regular properties are substitutive (read more in Prima::Object). Events are called in the object context when a specific condition occurs. The onClick event here, for example, is called when the user presses (or otherwise activates) the button.
When the Prima::Dialog::FileDialog module is loaded, these shortcut methods are registered in the Prima:: namespace as an alternative to the same methods in the module's namespace. The methods execute standard file open and save dialogs, correspondingly.
The Prima manual pages often provide information for more than one Prima class. To quickly find out the manual page of a desired class, as well as display the inheritance information, use the prima-class command. The command can produce output in the text and pod formats; the latter feature is used by the standard Prima documentation viewer podview ( see File/Run/prima-class ).
3a8082e126