Main > Free Download Search >

Free prima edit 1.20 software for linux

prima edit 1.20

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2003
Prima::Edit 1.20

Prima::Edit 1.20


Prima::Edit is a Perl module for standard text editing widget. more>>
Prima::Edit is a Perl module for standard text editing widget.

SYNOPSIS

use Prima::Edit;
my $e = Prima::Edit-> create(
text => Hello $world,
syntaxHilite => 1,
);
$e-> selection( 1, 1, 1, 2);

The class provides text editing capabilities, three types of selection, text wrapping, syntax highlighting, auto indenting, undo and redo function, search and replace methods.
The module declares bt:: package, that contains integer constants for selection block type, used by blockType property.

USAGE

The class addresses the text space by (X,Y)-coordinates, where X is character offset and Y is line number. The addressing can be physical and logical, - in logical case Y is number of line of text. The difference can be observed if wordWrap property is set to 1, when a single text string can be shown as several sub-strings, called chunks.

The text is stored line-wise in {lines} array; to access it use get_line method. To access the text chunk-wise, use get_chunk method.

All keyboard events, except the character input and tab key handling, are processed by the accelerator table ( see Prima::Menu ). The default accelItems table defines names, keyboard combinations, and the corresponding actions to the class functions. The class does not provide functionality to change these mappings. To do so, consult "Prima::AccelTable" in Prima::Menu.

<<less
Download (1.4MB)
Added: 2006-08-29 License: Perl Artistic License Price:
1151 downloads
Prima::Lists 1.20

Prima::Lists 1.20


Prima::Lists is a Perl module for user-selectable item list widgets. more>>
Prima::Lists is a Perl module for user-selectable item list widgets.

The module provides classes for several abstraction layers of item representation. The hierarchy of classes is as follows:

AbstractListViewer
AbstractListBox
ListViewer
ProtectedListBox
ListBox

The root class, Prima::AbstractListViewer, provides common interface, while by itself it is not directly usable. The main differences between classes are centered around the way the item list is stored. The simplest organization of a text-only item list, provided by Prima::ListBox, stores an array of text scalars in a widget.

More elaborated storage and representation types are not realized, and the programmer is urged to use the more abstract classes to derive own mechanisms. For example, for a list of items that contain text strings and icons see "Prima::DirectoryListBox" in Prima::FileDialog.

To organize an item storage, different from Prima::ListBox, it is usually enough to overload either the Stringify, MeasureItem, and DrawItem events, or their method counterparts: get_item_text, get_item_width, and draw_items.

<<less
Download (1.4MB)
Added: 2006-08-29 License: Perl Artistic License Price:
1151 downloads
Prima 1.22

Prima 1.22


Prima is a Perl GUI toolkit. more>>
Prima is an extensible Perl toolkit for multi-platform GUI development. Platforms supported include Linux, Windows NT/9x/2K, OS/2 and UNIX/X11 workstations (FreeBSD, IRIX, SunOS, Solaris and others).

The toolkit contains a rich set of standard widgets and has emphasis on 2D image processing tasks. A Perl program using PRIMA looks and behaves identically on X, Win32 and OS/2 PM.

Prima project includes a visual builder and a graphic POD viewer.

Building:

A Unpack it somewhere. Use

$ tar xzf Prima.tar.gz

on systems with GNU tar, and

$ gzip -cd Prima.tar.gz | tar xf -

on other systems.

cd to Prima directory.

Type perl Makefile.PL

If everything goes well, type make

If everything goes well (previous step is likely to take several minutes), you can, if you wish, type make test and make install. You can also try PRIMA without making install; in this case it is required to set your PERL5LIB environment variable to point to Prima directory.

Try to run samples provided with the package. They are located in the examples subdirectory. Run them as perl examples/filename.pl.

Explore, enjoy and share!

<<less
Download (1.3MB)
Added: 2007-08-06 License: BSD License Price:
812 downloads
Prima::PodView 1.20

Prima::PodView 1.20


Prima::PodView is Perl module for POD browser widget. more>>
Prima::PodView is Perl module for POD browser widget.

SYNOPSIS

use Prima qw(Application);
use Prima::PodView;

my $window = Prima::MainWindow-> create;
my $podview = $window-> insert( Prima::PodView,
pack => { fill => both, expand => 1 }
);
$podview-> open_read;
$podview-> read("=head1 NAMEnnIm also a pod!nn");
$podview-> close_read;

run Prima;

Prima::PodView contains a formatter ( in terms of perlpod ) and viewer of POD content. It heavily employs its ascendant class Prima::TextView, and is in turn base for the toolkits default help viewer Prima::HelpViewer.

<<less
Download (1.4MB)
Added: 2006-09-01 License: Perl Artistic License Price:
1150 downloads
Prima::Printer 1.20

Prima::Printer 1.20


Prima::Printer is a system printing services. more>>
Prima::Printer is a system printing services.

SYNOPSIS

my $printer = $::application-> get_printer;
print "printing to ", $printer->printer, "...n";
$p-> options( Orientation => Landscape, PaperSize => A4);
if ( $p-> begin_doc) {
$p-> bar( 0, 0, 100, 100);
print "another page...n";
$p-> new_page;
$p-> ellipse( 100, 100, 200, 200);
(time % 1) ? # depending on the moon phase, print it or cancel out
$p-> end_doc :
$p-> abort_doc;
} else {
print "failedn";
}

Prima::Printer is a descendant of Prima::Drawable class. It provides access to the system printing services, where available. If the system provides no graphics printing, the default PostScript (tm) interface module Prima::PS::Printer is used instead.

<<less
Download (1.4MB)
Added: 2006-07-31 License: Perl Artistic License Price:
1180 downloads
Prima::Grids 1.20

Prima::Grids 1.20


Prima::Grids is a Perl module that contains grid widgets. more>>
Prima::Grids is a Perl module that contains grid widgets.

SYNOPSIS

use Prima::Grids;

$grid = Prima::Grid-> create(
cells => [
[qw(1.First 1.Second 1.Third)],
[qw(2.First 2.Second 2.Third)],
[qw(3.First 3.Second 3.Third)],
],
onClick => sub {
print $_[0]-> get_cell_text( $_[0]-> focusedCell), " is selectedn";
}
);

The module provides classes for several abstraction layers of grid representation. The classes hierarchy is as follows:

AbstractGridViewer
AbstractGrid
GridViewer
Grid

The root class, Prima::AbstractGridViewer, provides common interface, while by itself it is not directly usable. The main differences between classes are centered around the way the cell data are stored. The simplest organization of a text-only cell, provided by Prima::Grid, stores data as a two-dimensional array of text scalars. More elaborated storage and representation types are not realized, and the programmer is urged to use the more abstract classes to derive own mechanisms. To organize an item storage, different from Prima::Grid, it is usually enough to overload either the Stringify, Measure, and DrawCell events, or their method counterparts: get_cell_text, columnWidth, rowHeight, and draw_items.

The grid widget is designed to contain cells of variable extents, of two types, normal and indent. The indent rows and columns are displayed in grid margins, and their cell are drawn with distinguished colors. An example use for a bottom indent row is a sum row in a spreadsheet application; the top indent row can be used for displaying columns headers. The normal cells can be selected by the user, scrolled, and selected. The cell selection can only contain rectangular areas, and therefore is operated with two integer pairs with the beginning and the end of the selection.

The widget operates in two visual scrolling modes; when the space allows, the scrollbars affect the leftmost and the topmost cell. When the widget is not large enough to accommodate at least one cell and all indent cells, the layout is scrolled pixel-wise. These modes are named cell and pixel, after the scrolling units.

The widget allows the interactive changing of cell widths and heights by dragging the grid lines between the cells.

Prima::AbstractGridViewer

Prima::AbstractGridViewer, the base for all grid widgets in the module, provides interface to generic grid browsing functionality, plus functionality for text-oriented grids. The class is not usable directly.

Prima::AbstractGridViewer is a descendant of Prima::GroupScroller, and some properties are not described here. See "Prima::GroupScroller" in Prima::IntUtils.

<<less
Download (1.4MB)
Added: 2006-08-24 License: Perl Artistic License Price:
1156 downloads
Prima::Utils 1.20

Prima::Utils 1.20


Prima::Utils are miscellanneous routines. more>>
Prima::Utils are miscellanneous routines.

The module contains several helper routines, implemented in both C and perl. Whereas the C-coded parts are accessible only if use Prima; statement was issued prior to the use Prima::Utils invocation, the perl-coded are always available. This makes the module valuable when used without the rest of toolkit code.

API

alarm $TIMEOUT, $SUB, @PARAMS

Calls SUB with PARAMS after TIMEOUT milliseconds.

beep [ FLAGS = mb::Error ]

Invokes the system-depended sound and/or visual bell, corresponding to one of following constants:

mb::Error
mb::Warning
mb::Information
mb::Question

get_gui

Returns one of gui::XXX constants, reflecting the graphic user interface used in the system:
gui::Default
gui::PM
gui::Windows
gui::XLib
gui::OpenLook
gui::Motif

The meaning of the return value is somewhat vague, and might be deprecated in future releases.

get_os

Returns one of apc::XXX constants, reflecting the platfrom. Currently, the list of the supported platforms is:

apc::Os2
apc::Win32
apc::Unix

ceil DOUBLE

Obsolete function.

Returns stdlibs ceil() of DOUBLE

find_image PATH

Converts PATH from perl module notation into a file path, and searches for the file in @INC paths set. If a file is found, its full filename is returned; otherwise undef is returned.

floor DOUBLE

Obsolete function.

Returns stdlibs floor() of DOUBLE

getdir PATH

Reads content of PATH directory and returns array of string pairs, where the first item is a file name, and the second is a file type.

The file type is a string, one of the following:
"fifo" - named pipe
"chr" - character special file
"dir" - directory
"blk" - block special file
"reg" - regular file
"lnk" - symbolic link
"sock" - socket
"wht" - whiteout

This function was implemented for faster directory reading, to avoid successive call of stat for every file.

path [ FILE ]

If called with no parameters, returns path to a directory, usually ~/.prima, that can be used to contain the user settings of a toolkit module or a program. If FILE is specified, appends it to the path and returns the full file name. In the latter case the path is automatically created by File::Path::mkpath unless it already exists.

post $SUB, @PARAMS

Postpones a call to SUB with PARAMS until the next event loop tick.

query_drives_map [ FIRST_DRIVE = "A:" ]

Returns anonymous array to drive letters, used by the system. FIRST_DRIVE can be set to other value to start enumeration from. Some OSes can probe eventual diskette drives inside the drive enumeration routines, so there is a chance to increase responsiveness of the function it might be reasonable to set FIRST_DRIVE to C: string.

If the system supports no drive letters, empty array reference is returned ( unix ).

query_drive_type DRIVE

Returns one of dt::XXX constants, describing the type of drive, where DRIVE is a 1-character string. If there is no such drive, or the system supports no drive letters ( unix ), dt::None is returned.

dt::None
dt::Unknown
dt::Floppy
dt::HDD
dt::Network
dt::CDROM
dt::Memory

sound [ FREQUENCY = 2000, DURATION = 100 ]

Issues a tone of FREQUENCY in Hz with DURATION in milliseconds.

username

Returns the login name of the user. Sometimes is preferred to the perl-provided getlogin ( see "getlogin" in perlfunc ) .

xcolor COLOR

Accepts COLOR string on one of the three formats:

#rgb
#rrggbb
#rrrgggbbb

and returns 24-bit RGB integer value.

<<less
Download (1.4MB)
Added: 2006-08-29 License: Perl Artistic License Price:
1155 downloads
Prima::Buttons 1.20

Prima::Buttons 1.20


Prima::Buttons is a button widgets and grouping widgets. more>>
Prima::Buttons is a button widgets and grouping widgets.

SYNOPSIS

use Prima qw(Application Buttons StdBitmap);

my $window = Prima::MainWindow-> create;
Prima::Button-> new(
owner => $window,
text => Simple button,
pack => {},
);
$window-> insert( Prima::SpeedButton ,
pack => {},
image => Prima::StdBitmap::icon(0),
);

run Prima;

Prima::Buttons provides two separate sets of classes: the button widgets and the grouping widgets. The button widgets include push buttons, check-boxes and radio buttons. The grouping widgets are designed for usage as containers for the check-boxes and radio buttons, however, any widget can be inserted in a grouping widget.

The module provides the following classes:

*Prima::AbstractButton ( derived from Prima::Widget and Prima::MouseScroller )
Prima::Button
Prima::SpeedButton
*Prima::Cluster
Prima::CheckBox
Prima::Radio
Prima::GroupBox ( derived from Prima::Widget )
Prima::RadioGroup ( obsolete )
Prima::CheckBoxGroup ( obsolete )
Note: * - marked classes are abstract.

<<less
Download (1.4MB)
Added: 2006-07-31 License: Perl Artistic License Price:
1184 downloads
Strings edit 1.9

Strings edit 1.9


Strings edit is a library that provides I/O facilities for integer, floating-point, Roman numbers, and strings. more>>
Strings edit is a library that provides I/O facilities for integer, floating-point, Roman numbers, and strings. Both input and output subroutines support string pointers for consequent stream processing. The output can be aligned in a fixed size field with padding.
Numeric input can be checked against expected values range to be either saturated or to raise an exception. For floating-point output either relative or absolute output precision can be specified. UTF-8 encoded strings are supported.
Enhancements:
- GPS project files were added for GNAT users.
- A bug was fixed in Strings_Edit.Generic_Scale in which the caclculated precision was of the minor scale tick rather than of the major tick.
<<less
Download (0.053MB)
Added: 2007-05-20 License: GMGPL (GNAT Modified GPL) Price:
908 downloads
Roman 1.20

Roman 1.20


Roman is a Perl module for conversion between Roman and Arabic numerals. more>>
Roman is a Perl module for conversion between Roman and Arabic numerals.

SYNOPSIS

use Roman;

$arabic = arabic($roman) if isroman($roman);
$roman = Roman($arabic);
$roman = roman($arabic);

This package provides some functions which help conversion of numeric notation between Roman and Arabic.

Functions

isroman

Tests if argument is valid roman number

arabic

roman => arabic

Roman

arabic => roman

roman

Same as Roman, lowercase

<<less
Download (0.003MB)
Added: 2007-05-21 License: Perl Artistic License Price:
886 downloads
Prima::Application 1.20

Prima::Application 1.20


Prima::Application is root of widget objects hierarchy. more>>
Prima::Application is root of widget objects hierarchy.

Prima::Application class serves as a hierarchy root for all objects with child-owner relationship. All toolkit objects, existing with non-null owner property, belong by their top-level parental relationship to Prima::Application object. There can be only one instance of Prima::Application class at a time.

SYNOPSIS

use Prima;
use Prima::Application;
or
use Prima qw(Application);

Prima::MainWindow-> create();

run Prima;

USAGE

Prima::Application class, and its only instance are treated specially throughout the toolkit. The object instance is contained in

$::application

scalar, defined in Prima.pm module. The application instance must be created whenever widget and window, or event loop functionality is desired. Usually

use Prima::Application;

code is enough, but $::application can also be assigned explicitly. The use syntax has advantage as more resistant to eventual changes in the toolkit design. It can also be used in conjunction with custom parameters hash, alike the general create() syntax:

use Prima::Application name => Test application, icon => $icon;

In addition to this functionality Prima::Application is also a wrapper to a set of system functions, not directly related to object classes. This functionality is generally explained in "API".

<<less
Download (1.4MB)
Added: 2006-07-31 License: Perl Artistic License Price:
1183 downloads
Prima::Drawable 1.20

Prima::Drawable 1.20


Prima::Drawable is a 2-D graphic interface. more>>
Prima::Drawable is a 2-D graphic interface.

SYNOPSIS

if ( $object-> isa(Prima::Drawable)) {
$object-> begin_paint;
$object-> color( cl::Black);
$object-> line( 100, 100, 200, 200);
$object-> ellipse( 100, 100, 200, 200);
$object-> end_paint;
}

Prima::Drawable is a descendant of Prima::Component. It provides access to the object-bound graphic context and canvas through its methods and properties. The Prima::Drawable descendants Prima::Widget, Prima::Image, Prima::DeviceBitmap and Prima::Printer are backed by system-dependent routines that allow drawing and painting on the system objects.

<<less
Download (1.4MB)
Added: 2006-07-28 License: Perl Artistic License Price:
1183 downloads
Prima::tutorial 1.20

Prima::tutorial 1.20


Prima::tutorial is an introductory tutorial. more>>
Prima::tutorial is an introductory tutorial.

Programming graphic interfaces is often considered somewhat boring, and not without a cause. It is a small pride in knowing that your buttons and scrollbars work exactly as millions of others buttons and scrollbars do, so whichever GUI toolkit is chosen, it is usually regarded as a tool of small importance, and the less obtrusive, the better.

Given that, and trying to live up to the famous Perl making easy things easy and hard things possible mantra, this manual page is an introductory tutorial meant to show how to write easy things easy. The hard things are explained in the other Prima manual pages ( see Prima ).

<<less
Download (1.4MB)
Added: 2006-08-24 License: Perl Artistic License Price:
1162 downloads
Prima::TextView 1.20

Prima::TextView 1.20


Prima::TextView is a rich text browser widget. more>>
Prima::TextView is a rich text browser widget.

Prima::TextView accepts blocks of formatted text, and provides basic functionality - scrolling and user selection. The text strings are stored as one large text chunk, available by the ::text and ::textRef properties. A block of a formatted text is an array with fixed-length header and the following instructions.

A special package tb:: provides the block constants and simple functions for text block access.

Capabilities

Prima::TextView is mainly the text block functions and helpers. It provides function for wrapping text block, calculating block dimensions, drawing and converting coordinates from (X,Y) to a block position. Prima::TextView is centered around the text functionality, and although any custom graphic of arbitrary complexity can be embedded in a text block, the internal coordinate system is used ( TEXT_OFFSET, BLOCK ), where TEXT_OFFSET is a text offset from the beginning of a block and BLOCK is an index of a block.

The functionality does not imply any text layout - this is up to the class descendants, they must provide they own layout policy. The only policy Prima::TextView requires is that blocks BLK_TEXT_OFFSET field must be strictly increasing, and the block text chunks must not overlap. The text gaps are allowed though.

A text block basic drawing function includes change of color, backColor and font, and the painting of text strings. Other types of graphics can be achieved by supplying custom code.

<<less
Download (1.4MB)
Added: 2006-07-31 License: Perl Artistic License Price:
1183 downloads
Xfprot 1.20

Xfprot 1.20


Xfprot is a graphical frontend for F-Prot Antivirus. more>>
Xfprot project is a graphical frontend to the F-Prot Antivirus for Linux Small Business Edition 3.12b/c/d, 3.13, 4.1.0, 4.2.0, 4.3.0 and 4.3.1 by Frisk Software International (www.frisk.is) which is free of charge for personal use.

Xfprot up to and including version 0.19beta was based upon the XSTEP-3.5.1 library 1996-2001 by Marcelo Samsoniuk and collaborators and released under the LGPL license.

Starting from version 0.20beta XFPROT is based upon Gtk+ 1.2 libraries. From version 1.0-rc2 it is also possible to use the Gtk+ 2.2 libraries.

Xfprot is tested only on Linux (Mandrake 9.0 ,9.1, 9.2, 10.0) but probably should compile and work also on other distributions, on some *BSDs and on other Unixes.

<<less
Download (0.10MB)
Added: 2007-04-30 License: GPL (GNU General Public License) Price:
909 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5