Main > Programming > Libraries >

Tk::Optionbox 0.09

Tk::Optionbox 0.09

Sponsored Links

Tk::Optionbox 0.09 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.037 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1155
Date added: 2006-08-25
Publisher: Michael Krause

Tk::Optionbox 0.09 description



SYNOPSIS

use Tk;
use Tk::Optionbox

my $current_class;
my @all_classes = qw(cat dog bird);
my $demo_xpm;

my $mw = MainWindow->new();

# prepare some graphics
setup_pixmap();

# create a demo
my $optionbox = $mw->Optionbox (
-text => "Class",
-image => $demo_xpm, # use this line for personal pics or
#-bitmap => @ . Tk->findINC(cbxarrow.xbm));
-command => &class_cb,
-options => [ @all_classes ],
-variable => $current_class,
-tearoff => 1,
-rows => 10,
-activate => 0,
)->pack;

Tk::MainLoop;

sub class_cb
{
print "class_cb called with [@_], $current_class = >$current_class }
sub setup_pixmap
{
my $cbxarrow_data = <<cbxarrow_EOP;
/* XPM */
static char *cbxarrow[] = {
"11 14 2 1",
". c none",
" c black",
"...........",
".... ....",
".... ....",
".... ....",
".... ....",
".... ....",
". .",
".. ..",
"... ...",
".... ....",
"..... .....",
"...........",
". .",
". ."
};
cbxarrow_EOP

$demo_xpm = $mw->Pixmap( -data => $cbxarrow_data);
}
DESCRIPTION ^
Another menu button style widget that can replace the default Optionmenu. Useful in applications that want to use a more flexible option menu. Its based on the default TK::Optionmenu, beside that it can handle menubuttons without the persistent, ugly menu-indicator, suitable for perl Tk800.x (developed with Tk800.024).
You can tie a scalar-value to the Optionbox widget, enable/disable it, assign a callback, that is invoked each time the Optionbox is changed, as well as set Option-values and configure any of the options understood by Tk::Frame(s) like -relief, -bg, ... . (see docs of TK::Optionmenu) for details

Tk::Optionbox 0.09 Screenshot

Advertisements

Tk::Optionbox 0.09 Keywords

Bookmark Tk::Optionbox 0.09

Hyperlink code:
Link for forum:

Tk::Optionbox 0.09 Copyright

WareSeeker periodically updates pricing and software information of Tk::Optionbox 0.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tk::Optionbox 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Tk::Optionmenu will let the user select one of some predefined options values. Free Download
Tk::ToolBar is a toolbar widget for Perl/Tk. Free Download
Ptk Phone is a small program written in Perl/Tk to be used as an address book. Free Download
Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long. Free Download
Tk::HyperText can create and manipulate ROText widgets which render HTML code. Free Download
Perlbox Voice is a voice command system. Free Download
Tk::JComboBox is a Perl module that can create and manipulate JComboBox widgets. Free Download
TkHTMLtidy is a Tcl/Tk front-end for the W3C tool Free Download