using Gtk;

void clicked_info_area_button(string bar, int x, int y, int z) {
	print (@"bar: $bar\n");
}

int main(string[] args) {
	string[] button_strings = {"and the cow says muh"};
	foreach (string select_button_text in button_strings) {
		print (@"foreach: $select_button_text\n");
		Button button = new Button();
		button.set_label(select_button_text);
		button.clicked.connect(() => {clicked_info_area_button(select_button_text, 1, 2, 3);});
	}
}