diff options
author | Arx Cruz <arxcruz@src.gnome.org> | 2011-01-17 12:20:21 -0200 |
---|---|---|
committer | Arx Cruz <arxcruz@src.gnome.org> | 2011-01-17 12:20:21 -0200 |
commit | 9c32783a1442f95f77a6a997058baa8c720011c8 (patch) | |
tree | b7dc2c09707dc73d5e41dd896577661a2d3e9a16 /src/zenity.h | |
parent | Updated Norwegian bokmål translation (diff) | |
download | zenity-9c32783a1442f95f77a6a997058baa8c720011c8.tar.gz zenity-9c32783a1442f95f77a6a997058baa8c720011c8.tar.bz2 zenity-9c32783a1442f95f77a6a997058baa8c720011c8.zip |
Adding missed files and code for --forms option.
Diffstat (limited to 'src/zenity.h')
-rw-r--r-- | src/zenity.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/zenity.h b/src/zenity.h index 6414140f..e5c6f4cd 100644 --- a/src/zenity.h +++ b/src/zenity.h @@ -136,6 +136,26 @@ typedef struct { } 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; GtkWidget *entry_username; @@ -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 */ |