#!/usr/bin/perl use strict; use warnings; use Gtk2 '-init'; my $window = Gtk2::Window->new; my $button = Gtk2::Button->new('Press me'); $button->signal_connect(clicked => sub { print "Hello again - the butt +on was pressed\n"; }); $window->add($button); $window->signal_connect(destroy => sub { Gtk2->main_quit; }); $window->show_all; Gtk2->main;
In reply to Re: pp + GTK2 + win32
by Khen1950fx
in thread pp + GTK2 + win32
by Phantoon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |