[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [entry-dialog 0/2] New dialog for entering a text string.
From: |
Ben Pfaff |
Subject: |
Re: [entry-dialog 0/2] New dialog for entering a text string. |
Date: |
Tue, 03 May 2011 09:22:02 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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 <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/pspp-dev
--
Ben Pfaff
http://benpfaff.org