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.313.873 Times

Tk::Optionmenu 804.027

  Date Added: February 13, 2010  |  Visits: 713

Tk::Optionmenu

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



Tk::Optionmenu will let the user select one of some predefined options values. SYNOPSIS use Optionmenu; $opt = $w->Optionmenu( -options => REFERENCE_to_OPTIONLIST, -command => CALLBACK, -variable => SCALAR_REF, ); $opt->addOptions( OPTIONLIST ); # OPTION LIST is # a) $val1, $val2, $val3,... # b) [ $lab1=>$val1], [$lab2=>val2], ... ] # c) combination of a) and b), e.g., # val1, [$lab2=>val2], val3, val4, [...], ... The Optionmenu widget allows the user chose between a given set of options. If the user should be able to change the available option have a look at Tk::BrowseEntry. OPTIONS -options (Re)sets the list of options presented. -command Defines the callback that is invokes when a new option is selected. -variable Reference to a scalar that contains the current value of the selected option. -textvariable Reference to a scalar that contains the text label of the current value of the selected option. METHODS addOptions Adds OPTION_LIST to the already available options. EXAMPLE use Tk; my $mw = MainWindow->new(); my ($var, $tvar); my $opt = $mw->Optionmenu( -options => [[jan=>1], [feb=>2], [mar=>3], [apr=>4]], -command => sub { print "got: ", shift, "n" }, -variable => $var, -textvariable => $tvar )->pack; $opt->addOptions([may=>5],[jun=>6],[jul=>7],[aug=>8]); my $f = $mw->Frame(-relief=>groove, -borderwidth => 2)->pack; $f->Label(-textvariable=>$tvar)->pack(-side => left); $f->Label(-text => " -> ")->pack(-side => left); $f->Label(-textvariable=>$var)->pack(-side => left); $mw->Button(-text=>Exit, -command=>sub{$mw->destroy})->pack; MainLoop;.

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Option Options Pack Predefined Programming Select Tkoptionmenu User
Users rating: 0/10

License: Freeware Size: 5.7 MB
USER REVIEWS
More Reviews or Write Review


TK::OPTIONMENU RELATED
Web Browser Tools  -  Tab Clicking Options 0.6.8
Tab Clicking Options allows you to select actions for various clicking events on a tab or the tab bar. Tab Clicking Options lets you select an action to perform with different clicking events on the tab bar or a tab in Firefox and in Mozilla...
22.53 KB  
Modules  -  Must Select 1.2
If you have setup your products with a dummy default options such as 'please select', you typically still have the issue that the customers can forget to make a selection and add the product to the shopping cart with the 'please select' value...
 
Programming  -  Coda PHP Toolkit 3.1
A Coda plugin aimed at PHP & Web development. Features 1. PHP syntax validation with "jump to error" 2. Clean up/reformat HTML, CSS and PHP code (configurable) 3. HTML, CSS and javascript validation 4. javascript...
675.84 KB  
Modules  -  Hierarchical Select User Terms 6.x-1.0
This module integrates the Hierarchical Select and User Terms projects to display the vocabulary elements as user friendly hierarchical select boxes on the user edit form.Installation * Review the Installation handbook page and install this module...
10 KB  
Misc. Web Browser Tools  -  AD Info Free Edition 1.0.0
AD Info is a modern easy to use active directory reporting tool with over 150 predefined reports as well as the option to create your own with the user friendly custom query designer. AD Info is designed to be as flexible and useful as possible,...
 
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Modules  -  ulink6 6.x-1.1 1.0
The project, when all the options are selected, will enable the user to complete the links dynamically, with the use of the background architecture it will be done in a structured way, thus further extensions and configurations for personal...
 
Modules  -  Admin reminder 1.0.7
Allows you to select inactive user and zero poster to remind them by mail to activate/use their account.
 
Libraries  -  Tk::Gpack 0.8
Tk::Gpack module contains abbreviated geometry arguments for pack, grid and place geometry managers. This module exports four functions for each of the different geometry mananers into the Tk namespace. These functions provide a variety of...
6.14 KB  
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