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

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

Serving Software Downloads in 956 Categories, Downloaded 50.335.741 Times

Dialog 0.03

  Date Added: February 03, 2010  |  Visits: 1.072

Dialog

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 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  -  DAEMon Raco Libraries 0.3
DAEMon Raco Libraries (DRLibs) is a collection of useful functions, objects, and routines for C++. Whats New in This Release: - This release adds new libraries to manage object lists: doublelist.dr.h, simplelist.dr.h, and sortedlist.dr.h..
28.67 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  -  Adobe Source Libraries 1.0.29
The Adobe Source Libraries (ASL) are a collection of C++ libraries building foundation technology to allow the construction of commercial applications by assembling generic algorithms through declarative descriptions. Whats New in This Release:...
8.2 MB  
Libraries  -  Ham Radio Control Libraries 1.2.6.2
Ham Radio Control Libraries is a development effort to provide a consistent interface for programmers wanting to incorporate radio control in their programs. Hamlib is not a complete user application, rather, it is a software layer intended to...
1.4 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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