Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.613.885 Times

Dialog 0.03

  Date Added: February 03, 2010  |  Visits: 804

Dialog

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



Dialog is a Perl interface to dialog(3). SYNOPSIS B< use Dialog; > #now we are creating the new dialog window $dlg = Dialog->new(title, y,x,height,width); #inserting input line $line = $dlg->inputline(name, y, x, width, text); #adding button $btn = $dlg->button(name, y, x, text, result); #and text label $labl = $dlg->label(name, y, x, text); #and now running all the stuff $res = $dlg->run; Debauched Perl interface to dialog(3). Seems to work somehow. At least its been working as v0.01 for 3-4 years at http://www.vlink.ru/ before I decided to donate it free as v0.02. The idea itself of $dlg->run, $obj->draw etc was stolen cynically from Borland Turbo Vision library. Sorry, guys, and if it breaks any copyrights, please, let me know. Trust me, I havent got any profit from this stuff yet. Hopefully will havent. Read "SEE ALSO" and maybe it helps. Besides "SYNOPSIS" the next OOP tricks are available: $dlg->redraw; $mr = $dlg->modalresult; $dlg->modalresult(number); $obj = $dlg->object(name); $obj = $dlg->current; $dlg->current(name); $dlg->current($obj); $text = $obj->data; $obj->data(newtext); $tabstop = $obj->tabstop; $obj->tabstop(boolean); $name = $obj->name; And, of course, good ancient non-OOP functions: Dialog::< many-many-consts >; Dialog::Const::< yet-same-and-other-consts >; void Dialog::Init(); /* only use it if there are no Dialog->new statements */ void Dialog::Exit(); /* the same note */ void Dialog::draw_shadow(y, x, h, w, win=stdscr); void Dialog::draw_box(y, x, h, w, box, border, win=stdscr); int Dialog::line_edit(y, x, w, box, border, win=stdscr); WINDOW *Dialog::stdscr(); void Dialog::refresh(); int Dialog::ungetch(ch); void Dialog::attrset(attr); void Dialog::mvprintw(y, x, s); void Dialog::gotoyx(y, x); int Dialog::getch(); int Dialog::YesNo(title, prompt, h, w); int Dialog::PrgBox(title, line, h, w, pause, use_shell); int Dialog::MsgBox(title, prompt, h, w, pause); int Dialog::TextBox(title, file, h, w); str Dialog::Menu(title, prompt, h, w, menu_h, ...); str Dialog::RadioList(title, prompt, h, w, list_h, ...); array Dialog::CheckList(title, prompt, h, w, list_h, ...); str Dialog::InputBox(title, prompt, h, w, str); int Dialog::Y(); int Dialog::X(); Strings passed to Menu, CheckList and RadioList may contain single zero char (ASCII 0) which delimites menu columns. You may, of course, pass such strings into other routines, but it will be your pain yet. And, at all, see test.pl and try to understand anything. If you have any suggestions and/or contributions, please, dont hesitate to send me..

Requirements: No special requirements
Platforms: Linux
Keyword: Dialog Int Libraries Programming Title Void
Users rating: 0/10

License: Freeware Size: 8.19 KB
USER REVIEWS
More Reviews or Write Review


DIALOG RELATED
Libraries  -  Coronet 0.23
Coronet project is a library which implements an epoll and coroutine based library that allows for async operations over certain kinds of files. Any file that supports poll(2) and the O_NONBLOCK fcntl(2) flag can be hosted; this includes like...
348.16 KB  
Libraries  -  VTKImaging 4.0.001
VTKImaging is a Perl interface to VTKImaging library. Graphics::VTK::BooleanTexture Inherits from StructuredPointsSource Functions Supported for this class by the PerlVTK module: (To find more about their use check the VTK documentation at...
675.84 KB  
Libraries  -  Inline::Struct 0.06
Inline::Struct is a Perl module that manipulate C structures directly from Perl. SYNOPSIS use Inline C => Config => Structs => [Foo]; my $obj = Inline::Struct::Foo->new; $obj->num(10); $obj->str("Hello"); myfunc($obj); __END__ __C__...
8.19 KB  
Libraries  -  hashit 0.9.4
hashit is a generic hash library. hashit implements diverse collision handling methods. This function creates a hash table which is returned as a hash_t type. errno is set to ENOMEM if there wasnt enough memory avaliable for creating the...
28.67 KB  
Libraries  -  UI::Dialog 1.08
UI::Dialog project supports priority ordering of the backend detection process. SYNOPSIS use UI::Dialog; my $d = new UI::Dialog ( backtitle => Demo, title => Default, height => 20, width => 65 , listheight => 5, order => [ zenity, xdialog ]...
83.97 KB  
Libraries  -  Inline::C 0.44
Inline::C is a Perl module that can Write Perl Subroutines in C. Inline::C is a module that allows you to write Perl subroutines in C. Since version 0.30 the Inline module supports multiple programming languages and each language has its own...
92.16 KB  
Libraries  -  XFA 0.17
XFA library implements an API that can be used to create NFA (either programmatically or from regular expressions) and to convert them in the minimal equivalent DFA. XFA library requires an ANSI C compiler, and this makes it portable virtually...
337.92 KB  
Libraries  -  GNU Classpath 0.95
GNU Classpath (essential libraries for Java) is a project to create free core class libraries for use with virtual machines and compilers for the Java programming language. GNU Classpath project includes all native methods and core classes...
6.5 MB  
Libraries  -  Gtk2::Ex::Dialogs::ChooseDirectory 0.11
Gtk2::Ex::Dialogs::ChooseDirectory is a Perl module that provides a file selection dialog. SYNOPSIS use Gtk2::Ex::Dialogs::ChooseDirectory ( destroy_with_parent => TRUE, modal => TRUE ); # do some stuff like creating your apps main $window...
20.48 KB  
Libraries  -  Gtk2::Ex::Dialogs::Message 0.11
Gtk2::Ex::Dialogs::Message provides a simple message dialog. SYNOPSIS use Gtk2::Ex::Dialogs::Message ( destroy_with_parent => TRUE, modal => TRUE, no_separator => FALSE ); # do some stuff like creating your apps main $window then, # to...
20.48 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB