/*
- Copyright (C) 1999 Paul Barton-Davis
+ Copyright (C) 1999 Paul Barton-Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
- /*
+ /*
Alas a generic 'affirmative' button seems a bit useless sometimes.
You will have to add your own.
After adding, use :
entryBox.set_homogeneous (false);
entryBox.set_spacing (5);
entryBox.set_border_width (10);
- entryBox.pack_start (entryLabel);
- entryBox.pack_start (entry, false, false);
+ entryBox.pack_start (entryLabel, false, false);
+ entryBox.pack_start (entry, true, true);
get_vbox()->pack_start (entryBox);
show_all_children();
void
Prompter::on_entry_changed ()
{
- /*
- This is set up so that entering text in the entry
- field makes the RESPONSE_ACCEPT button active.
- Of course if you haven't added a RESPONSE_ACCEPT
+ /*
+ This is set up so that entering text in the entry
+ field makes the RESPONSE_ACCEPT button active.
+ Of course if you haven't added a RESPONSE_ACCEPT
button, nothing will happen at all.
*/