File: menuentry

package info (click to toggle)
libtk-gbarr-perl 2.08-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 284 kB
  • ctags: 229
  • sloc: perl: 1,875; makefile: 17
file content (15 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/local/bin/perl

use Tk;
use lib 'alpha';
use Tk::MenuEntry;

$mw = new MainWindow;

$menue = $mw->MenuEntry();

$menue->pack(-side => 'top', -fill => 'x');

$menue->listInsert(0,qw(One Two Three));

Tk::MainLoop;