Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Tk::Optionbox 0.09

    Download button

    No screenshots available
    Downloads: 309  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael Krause | More programs
    Perl Artistic License / FREE
    August 25th, 2006, 18:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Tk::Optionbox description

    Tk::Optionbox is another pop-up option-widget (with MULTI-level selections).

    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

    Product's homepage

      


    TAGS:

    pop-up option-widget | MULTI-level selections | Perl module | Tk::Optionbox | pop-up | option-widget

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM