Help for this page
# ... lots of stuff $entry = new Gtk::Entry(8); ... $button->signal_connect( "clicked", \&savethings, $entry); # ... lots of more stuff :-)
sub savethings { # here we receive the entry-widget (and the save-button, too) ... # save things # ... }