File: simple4.pl

package info (click to toggle)
libgtk-perl 0.1.17-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,352 kB
  • ctags: 1,100
  • sloc: ansic: 4,393; perl: 3,463; makefile: 36
file content (14 lines) | stat: -rw-r--r-- 165 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use Gtk;

init Gtk;

{
	my($window,$button);

$button = new Gtk::Widget	"GtkButton",
		GtkButton::label		=>	"hello world",
		GtkWidget::visible		=>	1;
}

main Gtk;