I needed something to implement File|Rename Dataset and it seemed the most straightforward way.
Other GUI toolkits that I've used have a dialog like this built-in. I was surprised that I had to build my own at all. John Darrington <[email protected]> writes: > What are you intending to use this new dialog box for? > > On Tue, May 03, 2011 at 07:57:37AM -0700, Ben Pfaff wrote: > This is a revised version of the "entry-dialog" patch that I posted > a few days ago that uses PsppireDialog as a base. It now requires a > prerequisite patch, also included. > > Ben Pfaff (2): > psppire-buttonbox: Add "default" property. > gui: New "entry-dialog" module for prompting for a text string. > > src/ui/gui/automake.mk | 3 + > src/ui/gui/entry-dialog.c | 62 ++++++++++++++++++++++++ > src/ui/gui/entry-dialog.h | 27 ++++++++++ > src/ui/gui/entry-dialog.ui | 47 ++++++++++++++++++ > src/ui/gui/psppire-buttonbox.c | 103 > ++++++++++++++++++++++++++-------------- > src/ui/gui/psppire-buttonbox.h | 3 +- > 6 files changed, 209 insertions(+), 36 deletions(-) > create mode 100644 src/ui/gui/entry-dialog.c > create mode 100644 src/ui/gui/entry-dialog.h > create mode 100644 src/ui/gui/entry-dialog.ui > > -- > 1.7.2.5 > > > _______________________________________________ > pspp-dev mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/pspp-dev -- Ben Pfaff http://benpfaff.org _______________________________________________ pspp-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/pspp-dev
