From 9c32783a1442f95f77a6a997058baa8c720011c8 Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Mon, 17 Jan 2011 12:20:21 -0200 Subject: Adding missed files and code for --forms option. --- src/zenity.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/zenity.h') diff --git a/src/zenity.h b/src/zenity.h index 6414140f..e5c6f4cd 100644 --- a/src/zenity.h +++ b/src/zenity.h @@ -135,6 +135,26 @@ typedef struct { gboolean show_palette; } ZenityColorData; +typedef struct { + GSList *list; + GSList *list_widgets; + gchar *dialog_text; + gchar *separator; + gchar *date_format; +} ZenityFormsData; + +typedef enum { + ZENITY_FORMS_ENTRY, + ZENITY_FORMS_PASSWORD, + ZENITY_FORMS_CALENDAR +} ZenityFormsType; + +typedef struct { + gchar *option_value; + ZenityFormsType type; + GtkWidget *forms_widget; +} ZenityFormsValue; + typedef struct { gboolean username; gchar *password; @@ -169,7 +189,8 @@ void zenity_about (ZenityData *data); void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data); - +void zenity_forms_dialog (ZenityData *data, + ZenityFormsData *forms_data); G_END_DECLS #endif /* ZENITY_H */ -- cgit