From ed825cf92b9d786b9b13361db4a0e696af347a59 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Thu, 13 Oct 2011 13:40:40 -0300 Subject: Initial support for list/tree on --forms option Added zenity --add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns --- src/zenity.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/zenity.h') diff --git a/src/zenity.h b/src/zenity.h index 4d1e27d..e6b0afe 100644 --- a/src/zenity.h +++ b/src/zenity.h @@ -144,6 +144,7 @@ typedef struct { typedef struct { GSList *list; GSList *list_widgets; + GSList *list_values; gchar *dialog_text; gchar *separator; gchar *date_format; @@ -152,7 +153,8 @@ typedef struct { typedef enum { ZENITY_FORMS_ENTRY, ZENITY_FORMS_PASSWORD, - ZENITY_FORMS_CALENDAR + ZENITY_FORMS_CALENDAR, + ZENITY_FORMS_LIST } ZenityFormsType; typedef struct { -- cgit v1.2.3-54-g00ecf