File: simple4.pl

package info (click to toggle)
libgtk-perl 0.7009-12
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,956 kB
  • ctags: 2,260
  • sloc: perl: 13,998; xml: 9,919; ansic: 2,894; makefile: 64; cpp: 45
file content (17 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use Gtk;

init Gtk;

#TITLE: Simple #4
#REQUIRES: Gtk

{
	my($window,$button);

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

main Gtk;